Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

com.sun.mirror.declaration
Interface EnumDeclaration

All Superinterfaces:
ClassDeclaration, Declaration, MemberDeclaration, TypeDeclaration

Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in TypeElement.

@Deprecated
public interface EnumDeclaration
extends ClassDeclaration

Represents the declaration of an enum type.

Since:
1.5

Method Summary
Modifier and Type Method and Description
 Collection<EnumConstantDeclaration> getEnumConstants()
          Deprecated. Returns the enum constants defined for this enum.
 
Methods inherited from interface com.sun.mirror.declaration.ClassDeclaration
getConstructors, getMethods, getSuperclass
 
Methods inherited from interface com.sun.mirror.declaration.TypeDeclaration
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getQualifiedName, getSuperinterfaces
 
Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration
getDeclaringType
 
Methods inherited from interface com.sun.mirror.declaration.Declaration
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
 

Method Detail

getEnumConstants

Collection<EnumConstantDeclaration> getEnumConstants()
Deprecated. 
Returns the enum constants defined for this enum.

Returns:
the enum constants defined for this enum, or an empty collection if there are none

Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.