Java org.eclipse.jdt.core.dom EnumDeclaration fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom EnumDeclaration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom EnumDeclaration.

The text is from its open source code.

Field

ChildListPropertyDescriptorSUPER_INTERFACE_TYPES_PROPERTY
The "superInterfaceTypes" structural property of this node type (element type: Type ).
ChildListPropertyDescriptorENUM_CONSTANTS_PROPERTY
The "enumConstants" structural property of this node type (element type: EnumConstantDeclaration ).
ChildListPropertyDescriptorBODY_DECLARATIONS_PROPERTY
The "bodyDeclarations" structural property of this node type (element type: BodyDeclaration ).
ASTNode.NodeListsuperInterfaceTypes
The superinterface types (element type: Type ).
ASTNode.NodeListenumConstants
The enum constant declarations (element type: EnumConstantDeclaration ).

Constructor

EnumDeclaration(AST ast)
Creates a new AST node for an enum declaration owned by the given AST.

Method

ListbodyDeclarations()
Returns the live ordered list of body declarations of this type declaration.
SimpleNamegetName()
Returns the name of the type declared in this type declaration.
booleanisLocalTypeDeclaration()
Returns whether this type declaration is a local type.
booleanisMemberTypeDeclaration()
Returns whether this type declaration is a type member.
booleanisPackageMemberTypeDeclaration()
Returns whether this type declaration is a package member (that is, a top-level type).
ITypeBindingresolveBinding()
Resolves and returns the binding for the type declared in this type declaration.
voidsetName(SimpleName typeName)
Sets the name of the type declared in this type declaration to the given name.