Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS

Class sun.tools.javadoc.FieldDoc

java.lang.Object
    |
    +----sun.tools.javadoc.Doc
            |
            +----sun.tools.javadoc.ProgramElementDoc
                    |
                    +----sun.tools.javadoc.MemberDoc
                            |
                            +----sun.tools.javadoc.FieldDoc

public class FieldDoc
extends MemberDoc
Represents a field in a java class.

Since:
JDK1.2
See Also:
MemberDoc

Method Summary
boolean  isField()
Is this Doc item a field?
boolean  isTransient()
Return true if this field is transient
boolean  isVolatile()
Return true if this field is volatile
Type  type()
Get type of this field.
 
Methods inherited from class sun.tools.javadoc.MemberDoc
 containingPackage, isIncluded, name, qualifiedName, toString
 
Methods inherited from class sun.tools.javadoc.ProgramElementDoc
 containingClass, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier
 
Methods inherited from class sun.tools.javadoc.Doc
 commentText, compareTo, getRawCommentText, isClass, isConstructor, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, seeTags, setRawCommentText, tags, tags, toString
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

type

public Type type()
Get type of this field.

isField

public boolean isField()
Is this Doc item a field?
Returns:
true is it represents a field, and it does.
Overrides:
isField in class Doc

isTransient

public boolean isTransient()
Return true if this field is transient

isVolatile

public boolean isVolatile()
Return true if this field is volatile

Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS