Uses of Interface
java.lang.classfile.TypeAnnotation.OffsetTarget
Packages that use TypeAnnotation.OffsetTarget
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of TypeAnnotation.OffsetTarget in java.lang.classfile
Methods in java.lang.classfile that return TypeAnnotation.OffsetTargetModifier and TypeMethodDescriptionstatic TypeAnnotation.OffsetTarget
TypeAnnotation.TargetInfo.ofConstructorReference
(Label target) Returns a target for annotations on the type before the :: in a constructor reference expression.static TypeAnnotation.OffsetTarget
TypeAnnotation.TargetInfo.ofInstanceofExpr
(Label target) Returns a target for annotations on the type in an instanceof expression.static TypeAnnotation.OffsetTarget
TypeAnnotation.TargetInfo.ofMethodReference
(Label target) Returns a target for annotations on the type before the :: in a method reference expression.static TypeAnnotation.OffsetTarget
Returns a target for annotations on the type in a new expression.static TypeAnnotation.OffsetTarget
TypeAnnotation.TargetInfo.ofOffset
(TypeAnnotation.TargetType targetType, Label target) Returns a target for annotations on the type in an instanceof expression or a new expression, or the type before the :: in a method reference expression.