Uses of Interface
java.lang.classfile.TypeAnnotation.TypePathComponent
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of TypeAnnotation.TypePathComponentPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeFieldDescriptionstatic final TypeAnnotation.TypePathComponentPREVIEW
TypeAnnotation.TypePathComponent.ARRAY
static instance for annotation is deeper in an array typestatic final TypeAnnotation.TypePathComponentPREVIEW
TypeAnnotation.TypePathComponent.INNER_TYPE
static instance for annotation is deeper in a nested typestatic final TypeAnnotation.TypePathComponentPREVIEW
TypeAnnotation.TypePathComponent.WILDCARD
static instance for annotation is on the bound of a wildcard type argument of a parameterized typeModifier and TypeMethodDescriptionTypeAnnotation.TypePathComponent.of
(TypeAnnotation.TypePathComponent.KindPREVIEW typePathKind, int typeArgumentIndex) Returns type path component of an annotation.Modifier and TypeMethodDescriptionTypeAnnotation.targetPath()
Returns which part of the type indicated byTypeAnnotation.targetInfo()
PREVIEW is annotated.Modifier and TypeMethodDescriptionstatic 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.