Uses of Interface
java.lang.classfile.TypeAnnotation.TypeArgumentTarget
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of TypeAnnotation.TypeArgumentTargetPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionTypeAnnotation.TargetInfo.ofCastExpr
(LabelPREVIEW target, int typeArgumentIndex) Returns a target for annotations on the i'th type in a cast expression.TypeAnnotation.TargetInfo.ofConstructorInvocationTypeArgument
(LabelPREVIEW target, int typeArgumentIndex) Returns a target for annotations on the i'th type argument in the explicit type argument list for an explicit constructor invocation statement.TypeAnnotation.TargetInfo.ofConstructorReferenceTypeArgument
(LabelPREVIEW target, int typeArgumentIndex) Returns a target for annotations on the i'th type argument in the explicit type argument list for a new expression.TypeAnnotation.TargetInfo.ofMethodInvocationTypeArgument
(LabelPREVIEW target, int typeArgumentIndex) Returns a target for annotations on the i'th type argument in the explicit type argument list for a method invocation expression.TypeAnnotation.TargetInfo.ofMethodReferenceTypeArgument
(LabelPREVIEW target, int typeArgumentIndex) Returns a target for annotations on the i'th type argument in the explicit type argument list for a method reference expression.TypeAnnotation.TargetInfo.ofTypeArgument
(TypeAnnotation.TargetTypePREVIEW targetType, LabelPREVIEW target, int typeArgumentIndex) Returns a target for annotations 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.