インタフェースTypeAnnotation.ThrowsTarget

すべてのスーパー・インタフェース:
TypeAnnotation.TargetInfo
含まれているインタフェース:
TypeAnnotation

public static sealed interface TypeAnnotation.ThrowsTarget extends TypeAnnotation.TargetInfo
メソッド宣言またはコンストラクタ宣言のthrows句のi番目の型に注釈が表示されることを示します。
導入されたバージョン:
24
関連項目:
  • メソッドの詳細

    • throwsTargetIndex

      int throwsTargetIndex()
      RuntimeVisibleTypeAnnotations属性を囲むmethod_info構造体のExceptions属性のexception_index_table配列への索引。
      戻り値:
      リストjava.lang.classfile.attribute.ExceptionsAttribute.exceptions()への索引