public interface EnumDeclarationDescrBuilder extends AnnotatedDescrBuilder<EnumDeclarationDescrBuilder>, AbstractClassTypeDeclarationBuilder<EnumDeclarationDescr>
Modifier and Type | Method and Description |
---|---|
EnumDeclarationDescrBuilder |
name(String type)
Defines the type name
|
EnumLiteralDescrBuilder |
newEnumLiteral(String lit)
Adds an enum literal
|
newAnnotation
newField
end, endCharacter, endLocation, getDescr, startCharacter, startLocation
EnumDeclarationDescrBuilder name(String type)
type
- the type nameEnumLiteralDescrBuilder newEnumLiteral(String lit)
lit
- Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.