public interface JavaField extends JavaAnnotatedElement, JavaMember, JavaModel
Modifier and Type | Method and Description |
---|---|
String |
getCodeBlock()
The in-code representation of this field.
|
List<Expression> |
getEnumConstantArguments() |
JavaClass |
getEnumConstantClass() |
String |
getInitializationExpression()
Get the original expression used to initialize the field.
|
JavaClass |
getType()
Equivalent of
Field.getType() |
boolean |
isEnumConstant()
Equivalent of
Field.isEnumConstant() |
getAnnotations, getComment, getNamedParameter, getTagByName, getTags, getTagsByName
getLineNumber
getDeclaringClass, getModifiers, getName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile
JavaClass getType()
Field.getType()
null
.String getCodeBlock()
getCodeBlock
in interface JavaModel
String getInitializationExpression()
boolean isEnumConstant()
Field.isEnumConstant()
true
if this field is an enum constant, otherwise false
JavaClass getEnumConstantClass()
List<Expression> getEnumConstantArguments()
Copyright © 2002–2019. All rights reserved.