Example usage for Java org.eclipse.jdt.core.dom EnumDeclaration fields, constructors, methods, implement or subclass
The text is from its open source code.
ChildListPropertyDescriptor | SUPER_INTERFACE_TYPES_PROPERTY The "superInterfaceTypes" structural property of this node type (element type: Type ). |
ChildListPropertyDescriptor | ENUM_CONSTANTS_PROPERTY The "enumConstants" structural property of this node type (element type: EnumConstantDeclaration ). |
ChildListPropertyDescriptor | BODY_DECLARATIONS_PROPERTY The "bodyDeclarations" structural property of this node type (element type: BodyDeclaration ). |
ASTNode.NodeList | superInterfaceTypes The superinterface types (element type: Type ). |
ASTNode.NodeList | enumConstants The enum constant declarations (element type: EnumConstantDeclaration ). |
EnumDeclaration(AST ast) Creates a new AST node for an enum declaration owned by the given AST. |
List | bodyDeclarations() Returns the live ordered list of body declarations of this type declaration. |
SimpleName | getName() Returns the name of the type declared in this type declaration. |
boolean | isLocalTypeDeclaration() Returns whether this type declaration is a local type. |
boolean | isMemberTypeDeclaration() Returns whether this type declaration is a type member. |
boolean | isPackageMemberTypeDeclaration() Returns whether this type declaration is a package member (that is, a top-level type). |
ITypeBinding | resolveBinding() Resolves and returns the binding for the type declared in this type declaration. |
void | setName(SimpleName typeName) Sets the name of the type declared in this type declaration to the given name. |