public interface JavaField extends JavaAnnotatedElement, JavaMember, JavaModel
Modifier and Type | Method and Description |
---|---|
String |
getCallSignature()
Deprecated.
|
String |
getCodeBlock()
The in-code representation of this field.
|
String |
getDeclarationSignature(boolean withModifiers)
Deprecated.
|
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
getDeclaringClass, getModifiers, getName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile
getLineNumber, getSource
JavaClass getType()
Field.getType()
null
.String getCodeBlock()
getCodeBlock
in interface JavaModel
@Deprecated String getDeclarationSignature(boolean withModifiers)
@Deprecated String getCallSignature()
String getInitializationExpression()
boolean isEnumConstant()
Field.isEnumConstant()
true
if this field is an enum constant, otherwise false
JavaClass getEnumConstantClass()
List<Expression> getEnumConstantArguments()
Copyright © 2002–2015. All rights reserved.