Class TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingRecordComponentVisitor
java.lang.Object
org.objectweb.asm.RecordComponentVisitor
net.bytebuddy.dynamic.scaffold.TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.AttributeObtainingRecordComponentVisitor
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
FieldsModifier and TypeFieldDescriptionprivate final TypeWriter.RecordComponentPool.RecordThe record component pool record to apply onto the record component visitor.Fields inherited from class org.objectweb.asm.RecordComponentVisitor
api, delegate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeObtainingRecordComponentVisitor(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, TypeWriter.RecordComponentPool.Record record) Creates a new attribute obtaining record component visitor. -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.AnnotationVisitorvisitAnnotation(String descriptor, boolean visible) voidvisitEnd()org.objectweb.asm.AnnotationVisitorvisitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) Methods inherited from class org.objectweb.asm.RecordComponentVisitor
getDelegate, visitAttribute
-
Field Details
-
record
The record component pool record to apply onto the record component visitor.
-
-
Constructor Details
-
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 Details
-
visitTypeAnnotation
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitTypeAnnotationin classorg.objectweb.asm.RecordComponentVisitor
-
visitAnnotation
- Overrides:
visitAnnotationin classorg.objectweb.asm.RecordComponentVisitor
-
visitEnd
public void visitEnd()- Overrides:
visitEndin classorg.objectweb.asm.RecordComponentVisitor
-