インタフェースAnnotatedTypeVariable
- すべてのスーパー・インタフェース:
AnnotatedElement,AnnotatedType
public interface AnnotatedTypeVariable extends AnnotatedType
AnnotatedTypeVariableは、それ自体が型の注釈付きの使用を表す境界を設定できる宣言を持つ型変数の、潜在的に注釈付きの使用を表します。- Java言語仕様を参照してください:
-
4.4 型変数
- 導入されたバージョン:
- 1.8
-
メソッドのサマリー
修飾子と型メソッド説明この型変数の潜在的に注釈付きの境界を返します。この型がネストされた型を表す場合、この型がメンバーである可能性がある注釈付き型を返します。インタフェースjava.lang.reflect.AnnotatedElementで宣言されたメソッド
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresentインタフェースjava.lang.reflect.AnnotatedTypeで宣言されたメソッド
getAnnotation, getAnnotations, getDeclaredAnnotations, getType
-
メソッドの詳細
-
getAnnotatedBounds
AnnotatedType[] getAnnotatedBounds()この型変数の潜在的に注釈付きの境界を返します。 バインドが明示的に宣言されていない場合、バインドは注釈なしのObjectになります。- 戻り値:
- この型変数の潜在的に注釈付きの境界
- 関連項目:
-
getAnnotatedOwnerType
AnnotatedType getAnnotatedOwnerType()この型がネストされた型を表す場合、この型がメンバーである可能性がある注釈付き型を返します。 たとえば、この型が@TA O<T>.I<S>の場合、@TA O<T>の表現を返します。AnnotatedTypeVariableのインスタンスであるAnnotatedTypeのnullを返します。- 定義:
- インタフェース
AnnotatedType内のgetAnnotatedOwnerType - 戻り値:
null- 導入されたバージョン:
- 9
-