Package org.jboss.forge.roaster.model
Interface EnumConstant<O extends JavaEnum<O>>
- All Superinterfaces:
AnnotationTarget<O>,Internal,Named,Origin<O>
- All Known Subinterfaces:
EnumConstantSource
Represents one of the constant members of a
JavaEnum.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceEnumConstant.ReadBody<O extends EnumConstant.ReadBody<O>>Represents the anonymous subclass "body" of aEnumConstant. -
Method Summary
Modifier and TypeMethodDescriptiongetBody()Get theEnumConstantSource.Bodyof this enum constant.Get the constructor arguments of this enum constant.Methods inherited from interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotationMethods inherited from interface org.jboss.forge.roaster.Internal
getInternal
-
Method Details
-
getConstructorArguments
Get the constructor arguments of this enum constant. -
getBody
EnumConstant.ReadBody<?> getBody()Get theEnumConstantSource.Bodyof this enum constant.
-