public class JEnumField extends JField
JField.Disposition
HasName.Util
NULL_FIELD
BY_NAME_COMPARATOR
Constructor and Description |
---|
JEnumField(SourceInfo info,
String name,
int ordinal,
JEnumType enclosingType,
JClassType type) |
Modifier and Type | Method and Description |
---|---|
JEnumType |
getEnclosingType() |
int |
ordinal() |
getExportName, getFullName, getLiteralInitializer, getQualifiedExportName, getSignature, isCompileTimeConstant, isExternal, isStatic, isThisRef, isVolatile, setExportName, setFinal, setInitializer, setVolatile, traverse, writeReplace
getConstInitializer, getDeclarationStatement, getInitializer, getName, getType, hasInitializer, isFinal, setName, setType
getSourceInfo, setSourceInfo, toSource, toString
public JEnumField(SourceInfo info, String name, int ordinal, JEnumType enclosingType, JClassType type)
public JEnumType getEnclosingType()
getEnclosingType
in interface HasEnclosingType
getEnclosingType
in class JField
public int ordinal()
Copyright © 2018. All rights reserved.