public interface EnumConstant<O extends JavaSource<O>> extends Internal, Origin<O>, AnnotationTarget<O,EnumConstant<O>>, Named<EnumConstant<O>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EnumConstant.Body
Represents the anonymous subclass "body" of an enum constant.
|
| Modifier and Type | Method and Description |
|---|---|
EnumConstant.Body |
getBody()
Get the
EnumConstant.Body of this enum constant. |
List<String> |
getConstructorArguments()
Get the constructor arguments of this enum constant.
|
EnumConstant<O> |
removeBody()
Remove the
EnumConstant.Body of this enum constant. |
EnumConstant<O> |
setConstructorArguments(String... literalArguments)
Set the constructor arguments for this enum constant.
|
addAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, hasAnnotation, hasAnnotation, removeAnnotationgetInternalList<String> getConstructorArguments()
EnumConstant<O> setConstructorArguments(String... literalArguments)
EnumConstant.Body getBody()
EnumConstant.Body of this enum constant.EnumConstant<O> removeBody()
EnumConstant.Body of this enum constant.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.