- All Superinterfaces:
TypeAnnotation.TargetInfo
- All Known Implementing Classes:
TargetInfoImpl.OffsetTargetImpl
- Enclosing interface:
TypeAnnotation
public static sealed interface TypeAnnotation.OffsetTarget
extends TypeAnnotation.TargetInfo
permits TargetInfoImpl.OffsetTargetImpl
Indicates that an annotation appears on either the type in an instanceof expression
or a new expression, or the type before the :: in a method reference expression.
-
Method Summary
Methods inherited from interface org.glavo.classfile.TypeAnnotation.TargetInfo
size, targetType
-
Method Details
-
target
Label target()The code array offset of either the bytecode instruction corresponding to the instanceof expression, the new bytecode instruction corresponding to the new expression, or the bytecode instruction corresponding to the method reference expression.- Returns:
-