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
|
newAnnotationnewFieldend, endCharacter, endLocation, getDescr, startCharacter, startLocationEnumDeclarationDescrBuilder name(String type)
type - the type nameEnumLiteralDescrBuilder newEnumLiteral(String lit)
lit - Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.