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.
|
arguments
annotate, annotate, annotate
deprecated, docComment
blockComment, lineComment
JEnumConstant arg(JExpr expr)
arg
in interface JSimpleArgs
expr
- the argument expressionJClassDef body()
Copyright © 2016. All rights reserved.