Package org.objectweb.asm.util
Class TraceRecordComponentVisitor
- java.lang.Object
-
- org.objectweb.asm.RecordComponentVisitor
-
- org.objectweb.asm.util.TraceRecordComponentVisitor
-
public final class TraceRecordComponentVisitor extends org.objectweb.asm.RecordComponentVisitor
ARecordComponentVisitor
that prints the record components it visits with aPrinter
.
-
-
Constructor Summary
Constructors Constructor Description TraceRecordComponentVisitor(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, Printer printer)
Constructs a newTraceRecordComponentVisitor
.TraceRecordComponentVisitor(Printer printer)
Constructs a newTraceRecordComponentVisitor
.
-
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)
-
-
-
Field Detail
-
printer
public final Printer printer
The printer to convert the visited record component into text.
-
-
Constructor Detail
-
TraceRecordComponentVisitor
public TraceRecordComponentVisitor(Printer printer)
Constructs a newTraceRecordComponentVisitor
.- Parameters:
printer
- the printer to convert the visited record component into text.
-
TraceRecordComponentVisitor
public TraceRecordComponentVisitor(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, Printer printer)
Constructs a newTraceRecordComponentVisitor
.- Parameters:
recordComponentVisitor
- the record component visitor to which to delegate calls. May be null.printer
- the printer to convert the visited record component into text.
-
-
Method Detail
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)
- Overrides:
visitAnnotation
in classorg.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 classorg.objectweb.asm.RecordComponentVisitor
-
visitAttribute
public void visitAttribute(org.objectweb.asm.Attribute attribute)
- Overrides:
visitAttribute
in classorg.objectweb.asm.RecordComponentVisitor
-
visitEnd
public void visitEnd()
- Overrides:
visitEnd
in classorg.objectweb.asm.RecordComponentVisitor
-
-