VariableElement
.@Deprecated public interface FieldDeclaration extends MemberDeclaration
Modifier and Type | Method and Description |
---|---|
String |
getConstantExpression()
Deprecated.
Returns the text of a constant expression representing the
value of this field if this field is a compile-time constant.
|
Object |
getConstantValue()
Deprecated.
Returns the value of this field if this field is a compile-time
constant.
|
TypeMirror |
getType()
Deprecated.
Returns the type of this field.
|
getDeclaringType
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
TypeMirror getType()
Object getConstantValue()
Integer
).String getConstantExpression()
Copyright © 2004, 2014, Oracle and/or its affiliates. All rights reserved.