Interface TypeAnnotation.CatchTarget

All Superinterfaces:
TypeAnnotation.TargetInfo
Enclosing interface:
TypeAnnotation

public static sealed interface TypeAnnotation.CatchTarget extends TypeAnnotation.TargetInfo
Indicates that an annotation appears on the i'th type in an exception parameter declaration.
Since:
24
See Also:
  • Method Details

    • exceptionTableIndex

      int exceptionTableIndex()
      The index into the exception_table array of the Code attribute enclosing the RuntimeVisibleTypeAnnotations attribute.
      Returns:
      the index into the exception table