Package net.bytebuddy.dynamic.scaffold
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
Fields Modifier and Type Field Description private TypeWriter.RecordComponentPool.Record
record
The record component pool record to apply onto the record component visitor.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributeObtainingRecordComponentVisitor(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, TypeWriter.RecordComponentPool.Record record)
Creates a new attribute obtaining record component visitor.
-
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
visitEnd()
org.objectweb.asm.AnnotationVisitor
visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
-
-
-
Field Detail
-
record
private final TypeWriter.RecordComponentPool.Record record
The record component pool record to apply onto the record component visitor.
-
-
Constructor Detail
-
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 Detail
-
visitTypeAnnotation
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
- Overrides:
visitTypeAnnotation
in classorg.objectweb.asm.RecordComponentVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)
- Overrides:
visitAnnotation
in classorg.objectweb.asm.RecordComponentVisitor
-
visitEnd
public void visitEnd()
- Overrides:
visitEnd
in classorg.objectweb.asm.RecordComponentVisitor
-
-