| 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 Typepublic String getDocumentation()
getDocumentation in interface Typepublic List<Option> getOptions()
getOptions in interface Typepublic List<EnumType.Value> getValues()
public boolean allowAlias()
public List<Type> getNestedTypes()
getNestedTypes in interface TypeCopyright © 2025 Square, Inc.. All rights reserved.