# Uses of Interface
java.lang.classfile.TypeAnnotation.OffsetTarget

Packages that use TypeAnnotation.OffsetTarget
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

- ## Uses of TypeAnnotation.OffsetTarget in java.lang.classfile

  Methods in java.lang.classfile that return TypeAnnotation.OffsetTarget
  Modifier and Type
  Method
  Description
  `static 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`
  TypeAnnotation.TargetInfo.`ofNewExpr(Label target)`
  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.