com.sun.mirror.declaration
Interface EnumDeclaration
- All Superinterfaces:
- ClassDeclaration, Declaration, MemberDeclaration, TypeDeclaration
public interface EnumDeclaration
- extends ClassDeclaration
Represents the declaration of an enum type.
- Since:
- 1.5
getEnumConstants
Collection<EnumConstantDeclaration> getEnumConstants()
- Returns the enum constants defined for this enum.
- Returns:
- the enum constants defined for this enum,
or an empty collection if there are none
Submit a bug or feature
Copyright © 2004, 2011, Oracle and/or its affiliates. All rights reserved.