public class EnumModel extends Object implements Model
Modifier and Type | Field and Description |
---|---|
protected Elements |
elementUtils |
protected TypeElement |
modelElt |
protected EnumTypeInfo |
type |
protected Types |
typeUtils |
Constructor and Description |
---|
EnumModel(Messager messager,
Elements elementUtils,
Types typeUtils,
TypeElement modelElt) |
Modifier and Type | Method and Description |
---|---|
Doc |
getDoc() |
Element |
getElement() |
String |
getFqn() |
String |
getKind() |
ModuleInfo |
getModule() |
EnumTypeInfo |
getType() |
List<EnumValueInfo> |
getValues() |
Map<String,Object> |
getVars() |
protected final Elements elementUtils
protected final Types typeUtils
protected final TypeElement modelElt
protected EnumTypeInfo type
public EnumModel(Messager messager, Elements elementUtils, Types typeUtils, TypeElement modelElt)
public EnumTypeInfo getType()
public List<EnumValueInfo> getValues()
public Doc getDoc()
public Element getElement()
getElement
in interface Model
public ModuleInfo getModule()
Copyright © 2017. All rights reserved.