|
Mirror API | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface FieldDeclaration
型宣言のフィールドを表します。
| メソッドの概要 | |
|---|---|
String |
getConstantExpression()
フィールドがコンパイル時定数の場合、フィールドの値を表す定数式のテキストを返します。 |
Object |
getConstantValue()
このフィールドがコンパイル時定数の場合、このフィールドの値を返します。 |
TypeMirror |
getType()
このフィールドの型を返します。 |
| インタフェース com.sun.mirror.declaration.MemberDeclaration から継承されたメソッド |
|---|
getDeclaringType |
| インタフェース com.sun.mirror.declaration.Declaration から継承されたメソッド |
|---|
accept, equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
| メソッドの詳細 |
|---|
TypeMirror getType()
Object getConstantValue()
Integer などの適切なラッパークラスにラップされます。
String getConstantExpression()
|
Mirror API | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||