Uses of Interface
java.lang.classfile.TypeAnnotation.TargetInfo
Packages that use TypeAnnotation.TargetInfoPREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of TypeAnnotation.TargetInfoPREVIEW in java.lang.classfilePREVIEW
Subinterfaces of TypeAnnotation.TargetInfoPREVIEW in java.lang.classfilePREVIEWModifier and TypeInterfaceDescriptionstatic interfacePreview.Indicates that an annotation appears on the i'th type in an exception parameter declaration.static interfacePreview.Indicates that an annotation appears on either the type in a field declaration, the return type of a method, the type of a newly constructed object, or the receiver type of a method or constructor.static interfacePreview.Indicates that an annotation appears on the type in a formal parameter declaration of a method, constructor, or lambda expression.static interfacePreview.Indicates that an annotation appears on the type in a local variable declaration, including a variable declared as a resource in a try-with-resources statement.static interfacePreview.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.static interfacePreview.Indicates that an annotation appears on a type in the extends or implements clause of a class or interface declaration.static interfacePreview.Indicates that an annotation appears on the i'th type in the throws clause of a method or constructor declaration.static interfacePreview.Indicates that an annotation appears either on the i'th type in a cast expression, or on the i'th type argument in the explicit type argument list for any of the following: a new expression, an explicit constructor invocation statement, a method invocation expression, or a method reference expression.static interfacePreview.Indicates that an annotation appears on the i'th bound of the j'th type parameter declaration of a generic class, interface, method, or constructor.static interfacePreview.Indicates that an annotation appears on the declaration of the i'th type parameter of a generic class, generic interface, generic method, or generic constructor.Methods in java.lang.classfilePREVIEW that return TypeAnnotation.TargetInfoPREVIEWModifier and TypeMethodDescriptionTypeAnnotation.targetInfo()Returns information describing precisely which type in a declaration or expression is annotated.Methods in java.lang.classfilePREVIEW with parameters of type TypeAnnotation.TargetInfoPREVIEWModifier and TypeMethodDescriptionstatic TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, AnnotationElementPREVIEW... annotationElements) Returns a type annotation.static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, List<AnnotationElementPREVIEW> annotationElements) Returns a type annotation.static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, AnnotationElementPREVIEW... annotationElements) Returns a type annotation.static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, List<AnnotationElementPREVIEW> annotationElements) Returns a type annotation.