public class RecordComponentNode
extends org.objectweb.asm.RecordComponentVisitor
Modifier and Type | Field and Description |
---|---|
java.util.List<org.objectweb.asm.Attribute> |
attrs
The non standard attributes of this record component. * May be null.
|
java.lang.String |
descriptor
The record component descriptor (see
Type ). |
java.util.List<AnnotationNode> |
invisibleAnnotations
The runtime invisible annotations of this record component.
|
java.util.List<TypeAnnotationNode> |
invisibleTypeAnnotations
The runtime invisible type annotations of this record component.
|
java.lang.String |
name
The record component name.
|
java.lang.String |
signature
The record component signature.
|
java.util.List<AnnotationNode> |
visibleAnnotations
The runtime visible annotations of this record component.
|
java.util.List<TypeAnnotationNode> |
visibleTypeAnnotations
The runtime visible type annotations of this record component.
|
Constructor and Description |
---|
RecordComponentNode(int api,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature)
Constructs a new
RecordComponentNode . |
RecordComponentNode(java.lang.String name,
java.lang.String descriptor,
java.lang.String signature)
Constructs a new
RecordComponentNode . |
Modifier and Type | Method and Description |
---|---|
void |
accept(org.objectweb.asm.ClassVisitor classVisitor)
Makes the given class visitor visit this record component.
|
void |
check(int api)
Checks that this record component node is compatible with the given ASM API version.
|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String descriptor,
boolean visible) |
void |
visitAttribute(org.objectweb.asm.Attribute attribute) |
void |
visitEnd() |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible) |
public java.lang.String name
public java.lang.String descriptor
Type
).public java.lang.String signature
public java.util.List<AnnotationNode> visibleAnnotations
public java.util.List<AnnotationNode> invisibleAnnotations
public java.util.List<TypeAnnotationNode> visibleTypeAnnotations
public java.util.List<TypeAnnotationNode> invisibleTypeAnnotations
public java.util.List<org.objectweb.asm.Attribute> attrs
public RecordComponentNode(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, String, String, String)
version.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.public RecordComponentNode(int api, java.lang.String name, java.lang.String descriptor, java.lang.String signature)
RecordComponentNode
.api
- the ASM API version implemented by this visitor. Must be one of Opcodes.ASM8
or Opcodes.ASM9
.name
- the record component name.descriptor
- the record component descriptor (see Type
).signature
- the record component signature.public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)
visitAnnotation
in class org.objectweb.asm.RecordComponentVisitor
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
visitTypeAnnotation
in class org.objectweb.asm.RecordComponentVisitor
public void visitAttribute(org.objectweb.asm.Attribute attribute)
visitAttribute
in class org.objectweb.asm.RecordComponentVisitor
public void visitEnd()
visitEnd
in class org.objectweb.asm.RecordComponentVisitor
public void check(int api)
api
- an ASM API version. Must be one of Opcodes.ASM8
or Opcodes.ASM9
.public void accept(org.objectweb.asm.ClassVisitor classVisitor)
classVisitor
- a class visitor.