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(ProcessingEnvironment env,
TypeElement modelElt) |
Modifier and Type | Method and Description |
---|---|
Text |
getDeprecatedDesc() |
Doc |
getDoc() |
Element |
getElement() |
String |
getFqn() |
String |
getKind() |
ModuleInfo |
getModule() |
EnumTypeInfo |
getType() |
List<EnumValueInfo> |
getValues() |
Map<String,Object> |
getVars() |
boolean |
isDeprecated() |
boolean |
process() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotations
protected final Elements elementUtils
protected final Types typeUtils
protected final TypeElement modelElt
protected EnumTypeInfo type
public EnumModel(ProcessingEnvironment env, TypeElement modelElt)
public EnumTypeInfo getType()
public List<EnumValueInfo> getValues()
public Doc getDoc()
public Element getElement()
getElement
in interface Model
public boolean isDeprecated()
true
if the class has a @Deprecated
annotationpublic Text getDeprecatedDesc()
public ModuleInfo getModule()
Copyright © 2019 Eclipse. All rights reserved.