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
A
RecordComponentVisitor that prints the record components it visits with a Printer.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal PrinterThe printer to convert the visited record component into text.Fields inherited from class org.objectweb.asm.RecordComponentVisitor
api, delegate -
Constructor Summary
ConstructorsConstructorDescriptionTraceRecordComponentVisitor(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, Printer printer) Constructs a newTraceRecordComponentVisitor.TraceRecordComponentVisitor(Printer printer) Constructs a newTraceRecordComponentVisitor. -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.AnnotationVisitorvisitAnnotation(String descriptor, boolean visible) voidvisitAttribute(org.objectweb.asm.Attribute attribute) voidvisitEnd()org.objectweb.asm.AnnotationVisitorvisitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) Methods inherited from class org.objectweb.asm.RecordComponentVisitor
getDelegate
-
Field Details
-
printer
The printer to convert the visited record component into text.
-
-
Constructor Details
-
TraceRecordComponentVisitor
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 Details
-
visitAnnotation
- Overrides:
visitAnnotationin classorg.objectweb.asm.RecordComponentVisitor
-
visitTypeAnnotation
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitTypeAnnotationin classorg.objectweb.asm.RecordComponentVisitor
-
visitAttribute
public void visitAttribute(org.objectweb.asm.Attribute attribute) - Overrides:
visitAttributein classorg.objectweb.asm.RecordComponentVisitor
-
visitEnd
public void visitEnd()- Overrides:
visitEndin classorg.objectweb.asm.RecordComponentVisitor
-