public abstract class EnumElement extends Object implements TypeElement
Modifier and Type | Class and Description |
---|---|
static interface |
EnumElement.Builder |
Constructor and Description |
---|
EnumElement() |
Modifier and Type | Method and Description |
---|---|
static EnumElement.Builder |
builder(Location location) |
abstract com.google.common.collect.ImmutableList<EnumConstantElement> |
constants() |
abstract String |
documentation() |
abstract Location |
location() |
abstract String |
name() |
com.google.common.collect.ImmutableList<TypeElement> |
nestedTypes() |
abstract com.google.common.collect.ImmutableList<OptionElement> |
options() |
String |
toSchema() |
public static EnumElement.Builder builder(Location location)
public abstract Location location()
location
in interface TypeElement
public abstract String name()
name
in interface TypeElement
public abstract String documentation()
documentation
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<OptionElement> options()
options
in interface TypeElement
public final com.google.common.collect.ImmutableList<TypeElement> nestedTypes()
nestedTypes
in interface TypeElement
public abstract com.google.common.collect.ImmutableList<EnumConstantElement> constants()
public final String toSchema()
toSchema
in interface TypeElement
Copyright © 2013–2016 Square, Inc.. All rights reserved.