Package com.sun.mirror.declaration
Interface EnumConstantDeclaration
- All Superinterfaces:
- Declaration,- FieldDeclaration,- MemberDeclaration
Represents an enum constant declaration.
- Since:
- 1.5
- Version:
- 1.2 04/03/09
- Author:
- Joseph D. Darcy, Scott Seligman
- 
Method SummaryModifier and TypeMethodDescriptionReturns the type declaration within which this member or constructor is declared.Methods inherited from interface com.sun.mirror.declaration.Declarationaccept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleNameMethods inherited from interface com.sun.mirror.declaration.FieldDeclarationgetConstantExpression, getConstantValue, getType
- 
Method Details- 
getDeclaringTypeEnumDeclaration getDeclaringType()Returns the type declaration within which this member or constructor is declared. If this is the declaration of a top-level type (a non-nested class or interface), returns null.- Specified by:
- getDeclaringTypein interface- MemberDeclaration
- Returns:
- the type declaration within which this member or constructor is declared, or null if there is none
 
 
-