public class JEnumField extends JField
JField.Disposition
HasName.Util
NULL_FIELD
Constructor and Description |
---|
JEnumField(SourceInfo info,
String name,
int ordinal,
JEnumType enclosingType,
JClassType type) |
Modifier and Type | Method and Description |
---|---|
JEnumType |
getEnclosingType() |
int |
ordinal() |
getFullName, getLiteralInitializer, getSignature, isCompileTimeConstant, isExternal, isStatic, isThisRef, isVolatile, 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.