org.eclipse.jpt.common.core.utility.jdt
Interface EnumConstant

All Superinterfaces:
AnnotatedElement, Member

public interface EnumConstant
extends Member

Enum constants are part of Enums Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. This interface is not intended to be implemented by clients.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.utility.jdt.AnnotatedElement
AnnotatedElement.Editor
 
Method Summary
 org.eclipse.jdt.core.dom.IVariableBinding getBinding(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Covariant override.
 org.eclipse.jdt.core.dom.EnumConstantDeclaration getBodyDeclaration(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
          Covariant override.
 java.lang.String getName()
           
 
Methods inherited from interface org.eclipse.jpt.common.core.utility.jdt.Member
isPersistable, matches
 
Methods inherited from interface org.eclipse.jpt.common.core.utility.jdt.AnnotatedElement
edit, getModifiedDeclaration, getModifiedDeclaration, getNameTextRange
 

Method Detail

getName

java.lang.String getName()
Specified by:
getName in interface AnnotatedElement

getBinding

org.eclipse.jdt.core.dom.IVariableBinding getBinding(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Covariant override.

Specified by:
getBinding in interface AnnotatedElement

getBodyDeclaration

org.eclipse.jdt.core.dom.EnumConstantDeclaration getBodyDeclaration(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Covariant override.

Specified by:
getBodyDeclaration in interface AnnotatedElement