Annotation Types Summary |
BeanProperties |
Indicates that methods that look like bean-style property setters should be
generated so as to read and write object properties rather than import
functions. |
Binding |
Indicates that a flyweight-style method should be used to bind exported
functions from a type into a JavaScriptObject. |
Constructor |
This annotation may be applied to a class or method to specify a JavaScript
function to evaluate. |
Exported |
Individual Java functions may be exported to JavaScript callers by applying
this annotation on a concrete Java method within a JSWrapper. |
FieldName |
When implementing a bean property accessor, the default NamePolicy will be
used unless this annotation appears on the property's getter or setter. |
Global |
This annotation is used on a JSWrapper class in a manner similar to
Constructor although the value is interpreted as a value reference
rather than a function. |
Imported |
Allows methods declared in a type annotated with BeanProperties that
look like bean property setter/getters to be treated as imported methods. |
NamePolicy |
The policy to use when mangling bean property names to JSON object property
names. |
NoIdentity |
This object disables maintaining a 1:1 identity mapping between a JSWrapper
and the backing JSO. |
ReadOnly |
This prevents the generated JSWrapper implementation from modifying
the underlying JavaScriptObject. |