@Deprecated public class RecordComponentNode extends RecordComponentVisitor
Modifier and Type | Field and Description |
---|---|
int |
accessExperimental
Deprecated.
this API is experimental.
|
List<Attribute> |
attrsExperimental
Deprecated.
this API is experimental.
|
String |
descriptorExperimental
Deprecated.
this API is experimental.
|
List<AnnotationNode> |
invisibleAnnotationsExperimental
Deprecated.
this API is experimental.
|
List<TypeAnnotationNode> |
invisibleTypeAnnotationsExperimental
Deprecated.
this API is experimental.
|
String |
nameExperimental
Deprecated.
this API is experimental.
|
String |
signatureExperimental
Deprecated.
this API is experimental.
|
List<AnnotationNode> |
visibleAnnotationsExperimental
Deprecated.
this API is experimental.
|
List<TypeAnnotationNode> |
visibleTypeAnnotationsExperimental
Deprecated.
this API is experimental.
|
api
Constructor and Description |
---|
RecordComponentNode(int api,
int access,
String name,
String descriptor,
String signature)
Deprecated.
this API is experimental.
|
RecordComponentNode(int access,
String name,
String descriptor,
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(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,
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 String nameExperimental
public String descriptorExperimental
Type
).public String signatureExperimental
public List<AnnotationNode> visibleAnnotationsExperimental
public List<AnnotationNode> invisibleAnnotationsExperimental
public List<TypeAnnotationNode> visibleTypeAnnotationsExperimental
public List<TypeAnnotationNode> invisibleTypeAnnotationsExperimental
@Deprecated public RecordComponentNode(int access, String name, String descriptor, 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.IllegalStateException
- If a subclass calls this constructor.@Deprecated public RecordComponentNode(int api, int access, String name, String descriptor, 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(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, 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.Copyright © 2020. All rights reserved.