public class RecordComponentNode extends RecordComponentVisitor
| Modifier and Type | Field | Description |
|---|---|---|
java.util.List<Attribute> |
attrs |
The non standard attributes of this record component.
|
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.
|
api| Constructor | 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 | Description |
|---|---|---|
void |
accept(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.
|
AnnotationVisitor |
visitAnnotation(java.lang.String descriptor,
boolean visible) |
|
void |
visitAttribute(Attribute attribute) |
|
void |
visitEnd() |
|
AnnotationVisitor |
visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDelegatepublic 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<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 AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)
visitAnnotation in class RecordComponentVisitorpublic AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, java.lang.String descriptor, boolean visible)
visitTypeAnnotation in class RecordComponentVisitorpublic void visitAttribute(Attribute attribute)
visitAttribute in class RecordComponentVisitorpublic void visitEnd()
visitEnd in class RecordComponentVisitorpublic void check(int api)
api - an ASM API version. Must be one of Opcodes.ASM8 or Opcodes.ASM9.public void accept(ClassVisitor classVisitor)
classVisitor - a class visitor.Copyright © 2022. All rights reserved.