Interface TypeAnnotation.ThrowsTarget

All Superinterfaces:
TypeAnnotation.TargetInfo
All Known Implementing Classes:
TargetInfoImpl.ThrowsTargetImpl
Enclosing interface:
TypeAnnotation

public static sealed interface TypeAnnotation.ThrowsTarget extends TypeAnnotation.TargetInfo permits TargetInfoImpl.ThrowsTargetImpl
Indicates that an annotation appears on the i'th type in the throws clause of a method or constructor declaration.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The index into the exception_index_table array of the Exceptions attribute of the method_info structure enclosing the RuntimeVisibleTypeAnnotations attribute.

    Methods inherited from interface org.glavo.classfile.TypeAnnotation.TargetInfo

    size, targetType
  • Method Details

    • throwsTargetIndex

      int throwsTargetIndex()
      The index into the exception_index_table array of the Exceptions attribute of the method_info structure enclosing the RuntimeVisibleTypeAnnotations attribute.
      Returns:
      index into the list org.glavo.classfile.attribute.ExceptionsAttribute.exceptions()