Package org.jboss.forge.roaster.model
Interface EnumConstant<O extends JavaEnum<O>>
-
- All Superinterfaces:
AnnotationTarget<O>,Internal,Named,Origin<O>
- All Known Subinterfaces:
EnumConstantSource
public interface EnumConstant<O extends JavaEnum<O>> extends AnnotationTarget<O>, Named
Represents one of the constant members of aJavaEnum.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEnumConstant.ReadBody<O extends EnumConstant.ReadBody<O>>Represents the anonymous subclass "body" of aEnumConstant.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnumConstant.ReadBody<?>getBody()Get theEnumConstantSource.Bodyof this enum constant.List<String>getConstructorArguments()Get the constructor arguments of this enum constant.-
Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotation
-
Methods inherited from interface org.jboss.forge.roaster.Internal
getInternal
-
-
-
-
Method Detail
-
getConstructorArguments
List<String> getConstructorArguments()
Get the constructor arguments of this enum constant.
-
getBody
EnumConstant.ReadBody<?> getBody()
Get theEnumConstantSource.Bodyof this enum constant.
-
-