public interface EnumDeclaration extends Iterable<EnumDeclaration.Constant>, Type, Annotatable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EnumDeclaration.Constant
The predefined constants that make of an enum.
|
| Modifier and Type | Method and Description |
|---|---|
List<EnumDeclaration.Constant> |
getConstants()
Returns a list of all constants in this enum.
|
MsdlFile |
getFile()
Returns the file this enum is defined in.
|
String |
getName()
Returns the name of the enum.
|
forEach, iterator, spliteratorgetBaseTypegetAnnotation, isAnnotationPresentList<EnumDeclaration.Constant> getConstants()
MsdlFile getFile()
String getName()
Copyright © 2012–2014 Danish Maritime Authority. All rights reserved.