| |
|
| java.lang.Object com.sun.tools.javadoc.DocImpl com.sun.tools.javadoc.ProgramElementDocImpl com.sun.tools.javadoc.MemberDocImpl com.sun.tools.javadoc.FieldDocImpl
FieldDocImpl | public class FieldDocImpl extends MemberDocImpl implements FieldDoc(Code) | | Represents a field in a java class.
See Also: MemberDocImpl since: 1.2 author: Robert Field author: Neal Gafter (rewrite) author: Scott Seligman (generics, enums, annotations) |
Field Summary | |
final protected VarSymbol | sym |
sym | final protected VarSymbol sym(Code) | | |
FieldDocImpl | public FieldDocImpl(DocEnv env, VarSymbol sym)(Code) | | Constructor.
|
constantValue | public Object constantValue()(Code) | | Get the value of a constant field.
the value of a constant field. The value isautomatically wrapped in an object if it has a primitive type.If the field is not constant, returns null. |
constantValueExpression | public String constantValueExpression()(Code) | | Get the value of a constant field.
the text of a Java language expression whose valueis the value of the constant. The expression uses no identifiersother than primitive literals. If the field is not constant, returns null. |
constantValueExpression | static String constantValueExpression(Object cb)(Code) | | A static version of the above.
|
getContainingClass | protected ClassSymbol getContainingClass()(Code) | | Identify the containing class
|
getFlags | protected long getFlags()(Code) | | Returns the flags in terms of javac's flags
|
isEnumConstant | public boolean isEnumConstant()(Code) | | Is this Doc item an enum constant?
(For legacy doclets, return false.)
|
isField | public boolean isField()(Code) | | Is this Doc item a field (but not an enum constant?
|
isIncluded | public boolean isIncluded()(Code) | | Return true if this field is included in the active set.
|
isSynthetic | public boolean isSynthetic()(Code) | | Returns true if this field was synthesized by the compiler.
|
isTransient | public boolean isTransient()(Code) | | Return true if this field is transient
|
isVolatile | public boolean isVolatile()(Code) | | Return true if this field is volatile
|
position | public SourcePosition position()(Code) | | Return the source position of the entity, or null if
no position is available.
|
serialFieldTags | public SerialFieldTag[] serialFieldTags()(Code) | | Return the serialField tags in this FieldDocImpl item.
an array of SerialFieldTagImpl containing all@serialField tags. |
type | public com.sun.javadoc.Type type()(Code) | | Get type of this field.
|
Methods inherited from com.sun.tools.javadoc.MemberDocImpl | abstract public boolean isSynthetic()(Code)(Java Doc)
|
|
|
|