public class CheckRecordComponentAdapter
extends org.objectweb.asm.RecordComponentVisitor
RecordComponentVisitor that checks that its methods are properly used.| Modifier | Constructor and Description |
|---|---|
protected |
CheckRecordComponentAdapter(int api,
org.objectweb.asm.RecordComponentVisitor recordComponentVisitor)
Constructs a new
CheckRecordComponentAdapter. |
|
CheckRecordComponentAdapter(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor)
Constructs a new
CheckRecordComponentAdapter. |
| Modifier and Type | Method and Description |
|---|---|
org.objectweb.asm.AnnotationVisitor |
visitAnnotationExperimental(java.lang.String descriptor,
boolean visible) |
void |
visitAttributeExperimental(org.objectweb.asm.Attribute attribute) |
void |
visitEndExperimental() |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotationExperimental(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible) |
public CheckRecordComponentAdapter(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor)
CheckRecordComponentAdapter. Subclasses must not use this
constructor. Instead, they must use the CheckRecordComponentAdapter(int,
RecordComponentVisitor) version.recordComponentVisitor - the record component visitor to which this adapter must delegate
calls.java.lang.IllegalStateException - If a subclass calls this constructor.protected CheckRecordComponentAdapter(int api,
org.objectweb.asm.RecordComponentVisitor recordComponentVisitor)
CheckRecordComponentAdapter.api - the ASM API version implemented by this visitor. Must be Opcodes.ASM8_EXPERIMENTAL.recordComponentVisitor - the record component visitor to which this adapter must delegate
calls.public org.objectweb.asm.AnnotationVisitor visitAnnotationExperimental(java.lang.String descriptor,
boolean visible)
visitAnnotationExperimental in class org.objectweb.asm.RecordComponentVisitorpublic org.objectweb.asm.AnnotationVisitor visitTypeAnnotationExperimental(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible)
visitTypeAnnotationExperimental in class org.objectweb.asm.RecordComponentVisitorpublic void visitAttributeExperimental(org.objectweb.asm.Attribute attribute)
visitAttributeExperimental in class org.objectweb.asm.RecordComponentVisitorpublic void visitEndExperimental()
visitEndExperimental in class org.objectweb.asm.RecordComponentVisitor