Class TraceFieldVisitor


  • public final class TraceFieldVisitor
    extends org.objectweb.asm.FieldVisitor
    A FieldVisitor that prints the fields it visits with a Printer.
    Author:
    Eric Bruneton
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Printer p
      The printer to convert the visited field into text.
      • Fields inherited from class org.objectweb.asm.FieldVisitor

        api, fv
    • 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 java.lang.Object

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

      • p

        public final Printer p
        The printer to convert the visited field into text.
    • Constructor Detail

      • TraceFieldVisitor

        public TraceFieldVisitor​(Printer printer)
        Constructs a new TraceFieldVisitor.
        Parameters:
        printer - the printer to convert the visited field into text.
      • TraceFieldVisitor

        public TraceFieldVisitor​(org.objectweb.asm.FieldVisitor fieldVisitor,
                                 Printer printer)
        Constructs a new TraceFieldVisitor.
        Parameters:
        fieldVisitor - the field visitor to which to delegate calls. May be null.
        printer - the printer to convert the visited field into text.
    • Method Detail

      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String descriptor,
                                                                   boolean visible)
        Overrides:
        visitAnnotation in class org.objectweb.asm.FieldVisitor
      • 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.FieldVisitor
      • visitAttribute

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

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