public interface JEnumConstant extends JSimpleArgs, JAnnotatable, JDocCommentable
| Modifier and Type | Method and Description |
|---|---|
JEnumConstant |
arg(JExpr expr)
Add an argument.
|
JClassDef |
body()
Add an implementation body to this enum constant.
|
argumentsannotate, annotate, annotatedeprecated, docCommentblockComment, lineCommentJEnumConstant arg(JExpr expr)
arg in interface JSimpleArgsexpr - the argument expressionJClassDef body()