Uses of Interface
java.lang.classfile.TypeAnnotation.TargetInfo
Packages that use TypeAnnotation.TargetInfo
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of TypeAnnotation.TargetInfo in java.lang.classfile
Subinterfaces of TypeAnnotation.TargetInfo in java.lang.classfileModifier and TypeInterfaceDescriptionstatic interface
Indicates that an annotation appears on the i'th type in an exception parameter declaration.static interface
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 interface
Indicates that an annotation appears on the type in a formal parameter declaration of a method, constructor, or lambda expression.static interface
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 interface
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 interface
Indicates that an annotation appears on a type in the extends or implements clause of a class or interface declaration.static interface
Indicates that an annotation appears on the i'th type in the throws clause of a method or constructor declaration.static interface
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 interface
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 interface
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.classfile that return TypeAnnotation.TargetInfoModifier and TypeMethodDescriptionTypeAnnotation.targetInfo()
Returns information describing precisely which type in a declaration or expression is annotated.Methods in java.lang.classfile with parameters of type TypeAnnotation.TargetInfoModifier and TypeMethodDescriptionstatic TypeAnnotation
TypeAnnotation.of
(TypeAnnotation.TargetInfo targetInfo, List<TypeAnnotation.TypePathComponent> targetPath, Annotation annotation) Returns atype_annotation
structure.