public class EnumModel extends Object implements Model
Modifier and Type | Field and Description |
---|---|
protected Elements |
elementUtils |
protected TypeElement |
modelElt |
protected TypeInfo.Class.Enum |
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() |
TypeInfo.Class.Enum |
getType() |
List<EnumValueInfo> |
getValues() |
Map<String,Object> |
getVars() |
protected final Elements elementUtils
protected final Types typeUtils
protected final TypeElement modelElt
protected TypeInfo.Class.Enum type
public EnumModel(Messager messager, Elements elementUtils, Types typeUtils, TypeElement modelElt)
public TypeInfo.Class.Enum getType()
public List<EnumValueInfo> getValues()
public Doc getDoc()
public Element getElement()
getElement
in interface Model
public ModuleInfo getModule()
Copyright © 2015. All rights reserved.