Methods Summary |
---|
public java.lang.String | getConstantExpression()Returns the text of a constant expression representing the
value of this field if this field is a compile-time constant.
Returns null otherwise.
The value will be of a primitive type or String.
The text returned is in a form suitable for representing the value
in source code.
|
public java.lang.Object | getConstantValue()Returns the value of this field if this field is a compile-time
constant. Returns null otherwise.
The value will be of a primitive type or String.
If the value is of a primitive type, it is wrapped in the
appropriate wrapper class (such as {@link Integer}).
|
public com.sun.mirror.type.TypeMirror | getType()Returns the type of this field.
|