Example usage for Java org.eclipse.jdt.core.dom AnnotationTypeMemberDeclaration fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildPropertyDescriptor | TYPE_PROPERTY The "type" structural property of this node type (child type: Type ). |
ChildPropertyDescriptor | NAME_PROPERTY The "name" structural property of this node type (child type: SimpleName ). |
ChildPropertyDescriptor | DEFAULT_PROPERTY The "default" structural property of this node type (child type: Expression ). |
AnnotationTypeMemberDeclaration(AST ast) Creates a new AST node for an annotation type member declaration owned by the given AST. |
Expression | getDefault() Returns the default value of this annotation type member, or null if there is none. |
SimpleName | getName() Returns the name of the annotation type member declared in this declaration. |
Type | getType() Returns the type of the annotation type member declared in this declaration. |
IMethodBinding | resolveBinding() Resolves and returns the binding for the annotation type member declared in this declaration. |
void | setDefault(Expression defaultValue) Sets or clears the default value of this annotation type member. |
void | setName(SimpleName memberName) Sets the name of the annotation type member declared in this declaration to the given name. |
void | setType(Type type) Sets the type of the annotation type member declared in this declaration to the given type. |