VariableElement
に含まれます。@Deprecated public interface FieldDeclaration extends MemberDeclaration
修飾子と型 | メソッドと説明 |
---|---|
String |
getConstantExpression()
非推奨。
このフィールドがコンパイル時定数の場合、このフィールドの値を表す定数式のテキストを返します。
|
Object |
getConstantValue()
非推奨。
このフィールドがコンパイル時定数の場合、このフィールドの値を返します。
|
TypeMirror |
getType()
非推奨。
このフィールドの型を返します。
|
getDeclaringType
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName
TypeMirror getType()
Object getConstantValue()
Integer
など) にラップされます。String getConstantExpression()
Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.