-
- All Superinterfaces:
Comparable<Object>,Doc,MemberDoc,ProgramElementDoc
@Deprecated public interface FieldDoc extends MemberDoc
Deprecated.The declarations in this package have been superseded by those in the packagejdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.Represents a field in a java class.- Since:
- 1.2
- See Also:
MemberDoc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ObjectconstantValue()Deprecated.Get the value of a constant field.StringconstantValueExpression()Deprecated.Get the value of a constant field.booleanisTransient()Deprecated.Return true if this field is transientbooleanisVolatile()Deprecated.Return true if this field is volatileSerialFieldTag[]serialFieldTags()Deprecated.Return the serialField tags in this FieldDoc item.Typetype()Deprecated.Get type of this field.-
Methods declared in interface com.sun.javadoc.Doc
commentText, compareTo, firstSentenceTags, getRawCommentText, inlineTags, isAnnotationType, isAnnotationTypeElement, isClass, isConstructor, isEnum, isEnumConstant, isError, isException, isField, isIncluded, isInterface, isMethod, isOrdinaryClass, name, position, seeTags, setRawCommentText, tags, tags
-
Methods declared in interface com.sun.javadoc.MemberDoc
isSynthetic
-
Methods declared in interface com.sun.javadoc.ProgramElementDoc
annotations, containingClass, containingPackage, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, modifiers, modifierSpecifier, qualifiedName
-
-
-
-
Method Detail
-
type
Type type()
Deprecated.Get type of this field.- Returns:
- the type of this field.
-
isTransient
boolean isTransient()
Deprecated.Return true if this field is transient- Returns:
- true if this field is transient
-
isVolatile
boolean isVolatile()
Deprecated.Return true if this field is volatile- Returns:
- true if this field is volatile
-
serialFieldTags
SerialFieldTag[] serialFieldTags()
Deprecated.Return the serialField tags in this FieldDoc item.- Returns:
- an array of
SerialFieldTagobjects containing all@serialFieldtags.
-
constantValue
Object constantValue()
Deprecated.Get the value of a constant field.- Returns:
- 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.
-
constantValueExpression
String constantValueExpression()
Deprecated.Get the value of a constant field.- Returns:
- 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.
-
-