Class CheckRecordComponentAdapter


  • public class CheckRecordComponentAdapter
    extends org.objectweb.asm.RecordComponentVisitor
    A RecordComponentVisitor that checks that its methods are properly used.
    • Field Summary

      • Fields inherited from class org.objectweb.asm.RecordComponentVisitor

        api
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class org.objectweb.asm.RecordComponentVisitor

        getDelegate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CheckRecordComponentAdapter

        public CheckRecordComponentAdapter​(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor)
        Constructs a new CheckRecordComponentAdapter. Subclasses must not use this constructor. Instead, they must use the CheckRecordComponentAdapter(int, RecordComponentVisitor) version.
        Parameters:
        recordComponentVisitor - the record component visitor to which this adapter must delegate calls.
        Throws:
        java.lang.IllegalStateException - If a subclass calls this constructor.
      • CheckRecordComponentAdapter

        protected CheckRecordComponentAdapter​(int api,
                                              org.objectweb.asm.RecordComponentVisitor recordComponentVisitor)
        Constructs a new CheckRecordComponentAdapter.
        Parameters:
        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.
    • Method Detail

      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String descriptor,
                                                                   boolean visible)
        Overrides:
        visitAnnotation in class org.objectweb.asm.RecordComponentVisitor
      • visitTypeAnnotation

        public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation​(int typeRef,
                                                                       org.objectweb.asm.TypePath typePath,
                                                                       java.lang.String descriptor,
                                                                       boolean visible)
        Overrides:
        visitTypeAnnotation in class org.objectweb.asm.RecordComponentVisitor
      • visitAttribute

        public void visitAttribute​(org.objectweb.asm.Attribute attribute)
        Overrides:
        visitAttribute in class org.objectweb.asm.RecordComponentVisitor
      • visitEnd

        public void visitEnd()
        Overrides:
        visitEnd in class org.objectweb.asm.RecordComponentVisitor