Uses of Interface java.lang.classfile.TypeAnnotation.TypePathComponent (Java SE 23 & JDK 23)
Description: use: module: java.base, package: java.lang.classfile, interface: TypeAnnotation, interface: TypePathComponent

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

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

- ## Uses of TypeAnnotation.TypePathComponentPREVIEW in java.lang.classfilePREVIEW

  Fields in java.lang.classfilePREVIEW declared as TypeAnnotation.TypePathComponentPREVIEW
  Modifier and Type
  Field
  Description
  `static final TypeAnnotation.TypePathComponentPREVIEW`
  TypeAnnotation.TypePathComponent.`ARRAY`
  static instance for annotation is deeper in an array type
  `static final TypeAnnotation.TypePathComponentPREVIEW`
  TypeAnnotation.TypePathComponent.`INNER_TYPE`
  static instance for annotation is deeper in a nested type
  `static final TypeAnnotation.TypePathComponentPREVIEW`
  TypeAnnotation.TypePathComponent.`WILDCARD`
  static instance for annotation is on the bound of a wildcard type argument of a parameterized type
  Methods in java.lang.classfilePREVIEW that return TypeAnnotation.TypePathComponentPREVIEW
  Modifier and Type
  Method
  Description
  `static TypeAnnotation.TypePathComponentPREVIEW`
  TypeAnnotation.TypePathComponent.`of(TypeAnnotation.TypePathComponent.KindPREVIEW typePathKind, int typeArgumentIndex)`
  Returns type path component of an annotation.
  Methods in java.lang.classfilePREVIEW that return types with arguments of type TypeAnnotation.TypePathComponentPREVIEW
  Modifier and Type
  Method
  Description
  `List<TypeAnnotation.TypePathComponentPREVIEW>`
  TypeAnnotation.`targetPath()`
  Returns which part of the type indicated by `TypeAnnotation.targetInfo()`PREVIEW is annotated.
  Method parameters in java.lang.classfilePREVIEW with type arguments of type TypeAnnotation.TypePathComponentPREVIEW
  Modifier and Type
  Method
  Description
  `static TypeAnnotationPREVIEW`
  TypeAnnotation.`of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, AnnotationElementPREVIEW... annotationElements)`
  Returns a type annotation.
  `static TypeAnnotationPREVIEW`
  TypeAnnotation.`of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, List<AnnotationElementPREVIEW> annotationElements)`
  Returns a type annotation.
  `static TypeAnnotationPREVIEW`
  TypeAnnotation.`of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, AnnotationElementPREVIEW... annotationElements)`
  Returns a type annotation.
  `static TypeAnnotationPREVIEW`
  TypeAnnotation.`of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, List<AnnotationElementPREVIEW> annotationElements)`
  Returns a type annotation.