@Deprecated public class RecordComponentNode extends RecordComponentVisitor
Modifier and Type | Field and Description |
---|---|
int |
accessExperimental
Deprecated.
this API is experimental.
|
java.util.List<Attribute> |
attrsExperimental
Deprecated.
this API is experimental.
|
java.lang.String |
descriptorExperimental
Deprecated.
this API is experimental.
|
java.util.List<AnnotationNode> |
invisibleAnnotationsExperimental
Deprecated.
this API is experimental.
|
java.util.List<TypeAnnotationNode> |
invisibleTypeAnnotationsExperimental
Deprecated.
this API is experimental.
|
java.lang.String |
nameExperimental
Deprecated.
this API is experimental.
|
java.lang.String |
signatureExperimental
Deprecated.
this API is experimental.
|
java.util.List<AnnotationNode> |
visibleAnnotationsExperimental
Deprecated.
this API is experimental.
|
java.util.List<TypeAnnotationNode> |
visibleTypeAnnotationsExperimental
Deprecated.
this API is experimental.
|
api
Constructor and Description |
---|
RecordComponentNode(int api,
int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature)
Deprecated.
this API is experimental.
|
RecordComponentNode(int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature)
Deprecated.
this API is experimental.
|
Modifier and Type | Method and Description |
---|---|
void |
acceptExperimental(ClassVisitor classVisitor)
Deprecated.
this API is experimental.
|
void |
checkExperimental(int api)
Deprecated.
this API is experimental.
|
AnnotationVisitor |
visitAnnotationExperimental(java.lang.String descriptor,
boolean visible)
Deprecated.
Visits an annotation of the record component.
|
void |
visitAttributeExperimental(Attribute attribute)
Deprecated.
Visits a non standard attribute of the record component.
|
void |
visitEndExperimental()
Deprecated.
Visits the end of the record component.
|
AnnotationVisitor |
visitTypeAnnotationExperimental(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Deprecated.
Visits an annotation on a type in the record component signature.
|
getDelegateExperimental
public int accessExperimental
Opcodes
). The only valid value
is Opcodes.ACC_DEPRECATED
.public java.lang.String nameExperimental
public java.lang.String descriptorExperimental
Type
).public java.lang.String signatureExperimental
public java.util.List<AnnotationNode> visibleAnnotationsExperimental
public java.util.List<AnnotationNode> invisibleAnnotationsExperimental
public java.util.List<TypeAnnotationNode> visibleTypeAnnotationsExperimental
public java.util.List<TypeAnnotationNode> invisibleTypeAnnotationsExperimental
public java.util.List<Attribute> attrsExperimental
@Deprecated public RecordComponentNode(int access, java.lang.String name, java.lang.String descriptor, java.lang.String signature)
RecordComponentNode
. Subclasses must not use this constructor.
Instead, they must use the RecordComponentNode(int, int, String, String, String)
version.access
- the record component access flags (see Opcodes
). The
only valid value is Opcodes.ACC_DEPRECATED
.name
- the record component name.descriptor
- the record component descriptor (see Type
).signature
- the record component signature.java.lang.IllegalStateException
- If a subclass calls this constructor.@Deprecated public RecordComponentNode(int api, int access, java.lang.String name, java.lang.String descriptor, java.lang.String signature)
RecordComponentNode
.api
- the ASM API version implemented by this visitor. Must be Opcodes.ASM8_EXPERIMENTAL
.access
- the record component access flags (see Opcodes
). The
only valid value is Opcodes.ACC_DEPRECATED
.name
- the record component name.descriptor
- the record component descriptor (see Type
).signature
- the record component signature.public AnnotationVisitor visitAnnotationExperimental(java.lang.String descriptor, boolean visible)
RecordComponentVisitor
visitAnnotationExperimental
in class RecordComponentVisitor
descriptor
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.public AnnotationVisitor visitTypeAnnotationExperimental(int typeRef, TypePath typePath, java.lang.String descriptor, boolean visible)
RecordComponentVisitor
visitTypeAnnotationExperimental
in class RecordComponentVisitor
typeRef
- a reference to the annotated type. The sort of this type reference must be
TypeReference.CLASS_TYPE_PARAMETER
, TypeReference.CLASS_TYPE_PARAMETER_BOUND
or TypeReference.CLASS_EXTENDS
. See
TypeReference
.typePath
- the path to the annotated type argument, wildcard bound, array element type, or
static inner type within 'typeRef'. May be null if the annotation targets
'typeRef' as a whole.descriptor
- the class descriptor of the annotation class.visible
- true if the annotation is visible at runtime.public void visitAttributeExperimental(Attribute attribute)
RecordComponentVisitor
visitAttributeExperimental
in class RecordComponentVisitor
attribute
- an attribute.public void visitEndExperimental()
RecordComponentVisitor
visitEndExperimental
in class RecordComponentVisitor
public void checkExperimental(int api)
api
- an ASM API version. Must be Opcodes.ASM8_EXPERIMENTAL
.public void acceptExperimental(ClassVisitor classVisitor)
classVisitor
- a class visitor.