com.thoughtworks.qdox.model

Class JavaField

Implemented Interfaces:
Comparable, Member, Serializable

public class JavaField
extends AbstractJavaEntity
implements Member

Field Summary

private Type
type

Fields inherited from class com.thoughtworks.qdox.model.AbstractJavaEntity

comment, lineNumber, modifiers, name, parent, tags

Constructor Summary

JavaField()
JavaField(JavaClass parent)
JavaField(JavaClass parent, int lineNumber)

Method Summary

int
compareTo(Object o)
String
getCallSignature()
String
getDeclarationSignature(boolean withModifiers)
Type
getType()
void
setType(Type type)
protected void
writeBody(IndentBuffer result)

Methods inherited from class com.thoughtworks.qdox.model.AbstractJavaEntity

commentHeader, getComment, getLineNumber, getModifiers, getName, getNamedParameter, getParent, getSource, getTagByName, getTags, getTagsByName, isAbstract, isFinal, isModifierPresent, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setComment, setModifiers, setName, setTags, toString, write, writeAccessibilityModifier, writeAllModifiers, writeBody, writeNonAccessibilityModifiers

Field Details

type

private Type type

Constructor Details

JavaField

public JavaField()

JavaField

public JavaField(JavaClass parent)

JavaField

public JavaField(JavaClass parent,
                 int lineNumber)

Method Details

compareTo

public int compareTo(Object o)

getCallSignature

public String getCallSignature()
Specified by:
getCallSignature in interface Member

getDeclarationSignature

public String getDeclarationSignature(boolean withModifiers)
Specified by:
getDeclarationSignature in interface Member

getType

public Type getType()

setType

public void setType(Type type)

writeBody

protected void writeBody(IndentBuffer result)
Overrides:
writeBody in interface AbstractJavaEntity