Modifier and Type | Class and Description |
---|---|
static class |
EnumType.Value
An enum constant.
|
Constructor and Description |
---|
EnumType(String name,
String fqname,
String documentation,
List<Option> options,
List<EnumType.Value> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowAlias()
True if allowing multiple values to have the same tag.
|
boolean |
equals(Object other) |
String |
getDocumentation() |
String |
getFullyQualifiedName() |
String |
getName() |
List<Type> |
getNestedTypes() |
List<Option> |
getOptions() |
List<EnumType.Value> |
getValues() |
int |
hashCode() |
String |
toString() |
public String getFullyQualifiedName()
getFullyQualifiedName
in interface Type
public String getDocumentation()
getDocumentation
in interface Type
public List<Option> getOptions()
getOptions
in interface Type
public List<EnumType.Value> getValues()
public boolean allowAlias()
public List<Type> getNestedTypes()
getNestedTypes
in interface Type
Copyright © 2023 Square, Inc.. All rights reserved.