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 |
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 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 one of Opcodes.ASM8
or Opcodes.ASM9.recordComponentVisitor - the record component visitor to which this adapter must delegate
calls.public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor,
boolean visible)
visitAnnotation in class org.objectweb.asm.RecordComponentVisitorpublic org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible)
visitTypeAnnotation in class org.objectweb.asm.RecordComponentVisitorpublic void visitAttribute(org.objectweb.asm.Attribute attribute)
visitAttribute in class org.objectweb.asm.RecordComponentVisitorpublic void visitEnd()
visitEnd in class org.objectweb.asm.RecordComponentVisitor