|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldDeclaration
Represents a field of a type declaration.
Method Summary | |
---|---|
String |
getConstantExpression()
Returns the text of a constant expression representing the value of this field if this field is a compile-time constant. |
Object |
getConstantValue()
Returns the value of this field if this field is a compile-time constant. |
TypeMirror |
getType()
Returns the type of this field. |
Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration |
---|
getDeclaringType |
Methods inherited from interface com.sun.mirror.declaration.Declaration |
---|
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
Method Detail |
---|
TypeMirror getType()
Object getConstantValue()
Integer
).
String getConstantExpression()
|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |