- All Superinterfaces:
TypeAnnotation.TargetInfo
- All Known Implementing Classes:
TargetInfoImpl.CatchTargetImpl
- Enclosing interface:
TypeAnnotation
public static sealed interface TypeAnnotation.CatchTarget
extends TypeAnnotation.TargetInfo
permits TargetInfoImpl.CatchTargetImpl
Indicates that an annotation appears on the i'th type in an exception parameter
declaration.
- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionintThe index into the exception_table array of the Code attribute enclosing the RuntimeVisibleTypeAnnotations attribute.Methods inherited from interface org.glavo.classfile.TypeAnnotation.TargetInfo
size, targetType
-
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
-