Class TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingRecordComponentVisitor

  • Enclosing class:
    TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor

    protected class TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingRecordComponentVisitor
    extends org.objectweb.asm.RecordComponentVisitor
    A record component visitor that obtains all attributes and annotations of a record component that is found in the class file but discards all code.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private TypeWriter.RecordComponentPool.Record record
      The record component pool record to apply onto the record component visitor.
      • 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 visitEnd()  
      org.objectweb.asm.AnnotationVisitor visitTypeAnnotation​(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)  
      • Methods inherited from class org.objectweb.asm.RecordComponentVisitor

        getDelegate, visitAttribute
      • Methods inherited from class java.lang.Object

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

      • AttributeObtainingRecordComponentVisitor

        protected AttributeObtainingRecordComponentVisitor​(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor,
                                                           TypeWriter.RecordComponentPool.Record record)
        Creates a new attribute obtaining record component visitor.
        Parameters:
        recordComponentVisitor - The record component visitor to delegate to.
        record - The record component pool record to apply onto the record component visitor.
    • Method Detail

      • visitTypeAnnotation

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

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

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