com.sun.mirror.declaration
Interface EnumConstantDeclaration
- All Superinterfaces:
- Declaration, FieldDeclaration, MemberDeclaration
public interface EnumConstantDeclaration
- extends FieldDeclaration
Represents an enum constant declaration.
- Since:
- 1.5
getDeclaringType
EnumDeclaration 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:
getDeclaringType
in interface MemberDeclaration
- Returns:
- the type declaration within which this member or constructor
is declared, or null if there is none
Submit a bug or feature Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.