Package com.thoughtworks.qdox.model
Class JavaField
java.lang.Object
com.thoughtworks.qdox.model.AbstractBaseJavaEntity
com.thoughtworks.qdox.model.AbstractJavaEntity
com.thoughtworks.qdox.model.JavaField
- All Implemented Interfaces:
Member
,Serializable
,Comparable
- See Also:
-
Field Summary
Fields inherited from class com.thoughtworks.qdox.model.AbstractJavaEntity
modifiers
Fields inherited from class com.thoughtworks.qdox.model.AbstractBaseJavaEntity
name, parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getDeclarationSignature
(boolean withModifiers) Get the original expression used to initialize the field.getType()
void
setInitializationExpression
(String initializationExpression) void
toString()
protected void
writeBody
(IndentBuffer result) Methods inherited from class com.thoughtworks.qdox.model.AbstractJavaEntity
getCodeBlock, getComment, getModifiers, getNamedParameter, getParentClass, getSource, getTagByName, getTags, getTagsByName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setComment, setModifiers, setParentClass, setTags, write, writeAccessibilityModifier, writeAllModifiers, writeNonAccessibilityModifiers
Methods inherited from class com.thoughtworks.qdox.model.AbstractBaseJavaEntity
getAnnotations, getLineNumber, getName, getParent, setAnnotations, setLineNumber, setName, setParent
-
Constructor Details
-
JavaField
public JavaField() -
JavaField
-
JavaField
-
-
Method Details
-
getType
-
writeBody
- Specified by:
writeBody
in classAbstractJavaEntity
-
setType
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
getDeclarationSignature
- Specified by:
getDeclarationSignature
in interfaceMember
-
getCallSignature
- Specified by:
getCallSignature
in interfaceMember
-
getInitializationExpression
Get the original expression used to initialize the field.- Returns:
- initialization as string.
-
setInitializationExpression
-
toString
-