You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JonathanO edited this page Jun 3, 2012
·
4 revisions
AnnotationCreator
Used on the constructor or a static method to mark it as the factory method for this object.
It optionally takes a single argument consisting of an array of @Parameter annotations, which will be used in specified order as the parameters to the factory/constructor.
Parameters
params (Parameter[])
The properties to be used as parameters to the annotated method, in order.
Parameter
name (string)
The parameter name, if not provided then the argument name is used
type (string)
The type of the parameter (default "string".) See AnnotationTypes
required (bool)
Is this parameter required (default false)