@Deprecated public final class TraceRecordComponentVisitor extends RecordComponentVisitor
RecordComponentVisitor that prints the record components it visits with a Printer.| Modifier and Type | Field and Description |
|---|---|
Printer |
printerExperimental
Deprecated.
This is an experimental API.
|
api| Constructor and Description |
|---|
TraceRecordComponentVisitor(Printer printer)
Deprecated.
This is an experimental API.
|
TraceRecordComponentVisitor(RecordComponentVisitor recordComponentVisitor,
Printer printer)
Deprecated.
This is an experimental API.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationVisitor |
visitAnnotationExperimental(java.lang.String descriptor,
boolean visible)
Deprecated.
Visits an annotation of the record component.
|
void |
visitAttributeExperimental(Attribute attribute)
Deprecated.
Visits a non standard attribute of the record component.
|
void |
visitEndExperimental()
Deprecated.
Visits the end of the record component.
|
AnnotationVisitor |
visitTypeAnnotationExperimental(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Deprecated.
Visits an annotation on a type in the record component signature.
|
getDelegateExperimental@Deprecated public final Printer printerExperimental
@Deprecated public TraceRecordComponentVisitor(Printer printer)
TraceRecordComponentVisitor.printer - the printer to convert the visited record component into text.@Deprecated public TraceRecordComponentVisitor(RecordComponentVisitor recordComponentVisitor, Printer printer)
TraceRecordComponentVisitor.recordComponentVisitor - the record component visitor to which to delegate calls. May be
null.printer - the printer to convert the visited record component into text.public AnnotationVisitor visitAnnotationExperimental(java.lang.String descriptor, boolean visible)
RecordComponentVisitorvisitAnnotationExperimental in class RecordComponentVisitordescriptor - the class descriptor of the annotation class.visible - true if the annotation is visible at runtime.public AnnotationVisitor visitTypeAnnotationExperimental(int typeRef, TypePath typePath, java.lang.String descriptor, boolean visible)
RecordComponentVisitorvisitTypeAnnotationExperimental in class RecordComponentVisitortypeRef - a reference to the annotated type. The sort of this type reference must be
TypeReference.CLASS_TYPE_PARAMETER, TypeReference.CLASS_TYPE_PARAMETER_BOUND or TypeReference.CLASS_EXTENDS. See
TypeReference.typePath - the path to the annotated type argument, wildcard bound, array element type, or
static inner type within 'typeRef'. May be null if the annotation targets
'typeRef' as a whole.descriptor - the class descriptor of the annotation class.visible - true if the annotation is visible at runtime.public void visitAttributeExperimental(Attribute attribute)
RecordComponentVisitorvisitAttributeExperimental in class RecordComponentVisitorattribute - an attribute.public void visitEndExperimental()
RecordComponentVisitorvisitEndExperimental in class RecordComponentVisitor