FileDocCategorySizeDatePackage
FieldDoc.javaAPI DocJava SE 6 API1448Tue Jun 10 00:22:00 BST 2008com.sun.javadoc

FieldDoc

public interface FieldDoc implements MemberDoc
Represents a field in a java class.
see
MemberDoc
since
1.2
author
Robert Field

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectconstantValue()
Get the value of a constant field.

return
the value of a constant field. The value is automatically wrapped in an object if it has a primitive type. If the field is not constant, returns null.

public java.lang.StringconstantValueExpression()
Get the value of a constant field.

return
the text of a Java language expression whose value is the value of the constant. The expression uses no identifiers other than primitive literals. If the field is not constant, returns null.

public booleanisTransient()
Return true if this field is transient

public booleanisVolatile()
Return true if this field is volatile

public SerialFieldTag[]serialFieldTags()
Return the serialField tags in this FieldDoc item.

return
an array of SerialFieldTag objects containing all @serialField tags.

public Typetype()
Get type of this field.