public class EnumDeclaration extends Declaration
enum ::= 'enum' {name} '{' {enum_value}* '}' {annotations}?
| Constructor and Description |
|---|
EnumDeclaration(String documentation,
ThriftToken enumToken,
ThriftToken name,
List<EnumValueDeclaration> values,
List<AnnotationDeclaration> annotations) |
| Modifier and Type | Method and Description |
|---|---|
ThriftToken |
getEnumToken() |
List<EnumValueDeclaration> |
getValues() |
getAnnotations, getDocumentation, getName, getNameTokenpublic EnumDeclaration(@Nullable String documentation, @Nonnull ThriftToken enumToken, @Nonnull ThriftToken name, @Nonnull List<EnumValueDeclaration> values, @Nullable List<AnnotationDeclaration> annotations)
@Nonnull public ThriftToken getEnumToken()
@Nonnull public List<EnumValueDeclaration> getValues()
Copyright © 2015–2020 morimekta.net. All rights reserved.