インタフェースjava.lang.classfile.TypeAnnotation.EmptyTargetの
使用
TypeAnnotation.EmptyTargetを使用するパッケージ
-
java.lang.classfileでのTypeAnnotation.EmptyTargetの使用
修飾子と型メソッド説明static TypeAnnotation.EmptyTargetTypeAnnotation.TargetInfo.of(TypeAnnotation.TargetType targetType) 注釈のターゲットを返します。static TypeAnnotation.EmptyTargetTypeAnnotation.TargetInfo.ofField()フィールドまたはレコード宣言内の型の注釈のターゲットを返します。static TypeAnnotation.EmptyTargetTypeAnnotation.TargetInfo.ofMethodReceiver()メソッドまたはコンストラクタのレシーバ・タイプに対する注釈のターゲットを返します。static TypeAnnotation.EmptyTargetTypeAnnotation.TargetInfo.ofMethodReturn()メソッドの戻り型または新しく構築されたオブジェクトの注釈のターゲットを返します。