
public class JEnumField extends JField
JField.DispositionHasName.UtilNULL_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, writeReplacegetConstInitializer, getDeclarationStatement, getInitializer, getName, getType, hasInitializer, isFinal, setName, setTypegetSourceInfo, setSourceInfo, toSource, toStringpublic JEnumField(SourceInfo info, String name, int ordinal, JEnumType enclosingType, JClassType type)
public JEnumType getEnclosingType()
getEnclosingType in interface HasEnclosingTypegetEnclosingType in class JFieldpublic int ordinal()
Copyright © 2018. All rights reserved.