Package net.bytebuddy.pool
Class TypePool.Default.TypeExtractor.RecordComponentExtractor
- java.lang.Object
-
- org.objectweb.asm.RecordComponentVisitor
-
- net.bytebuddy.pool.TypePool.Default.TypeExtractor.RecordComponentExtractor
-
- Enclosing class:
- TypePool.Default.TypeExtractor
protected class TypePool.Default.TypeExtractor.RecordComponentExtractor extends org.objectweb.asm.RecordComponentVisitorA record component extractor reads a record component's information within a class file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>annotationTokensA list of the record component's annotations.private java.lang.StringdescriptorThe record component's descriptor.private java.lang.StringgenericSignatureThe record component's generic signature.private java.lang.StringnameThe record component's name.private java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>typeAnnotationTokensA mapping of the record component's type annotations.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecordComponentExtractor(java.lang.String name, java.lang.String descriptor, java.lang.String genericSignature)Creates a new record component extractor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.AnnotationVisitorvisitAnnotation(java.lang.String descriptor, boolean visible)voidvisitEnd()org.objectweb.asm.AnnotationVisitorvisitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
-
-
-
Field Detail
-
name
private final java.lang.String name
The record component's name.
-
descriptor
private final java.lang.String descriptor
The record component's descriptor.
-
genericSignature
@MaybeNull private final java.lang.String genericSignature
The record component's generic signature.
-
typeAnnotationTokens
private final java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens
A mapping of the record component's type annotations.
-
annotationTokens
private final java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens
A list of the record component's annotations.
-
-
Constructor Detail
-
RecordComponentExtractor
protected RecordComponentExtractor(java.lang.String name, java.lang.String descriptor, @MaybeNull java.lang.String genericSignature)Creates a new record component extractor.- Parameters:
name- The record component's name.descriptor- The record component's descriptor.genericSignature- The record component's generic signature.
-
-
Method Detail
-
visitTypeAnnotation
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)- Overrides:
visitTypeAnnotationin classorg.objectweb.asm.RecordComponentVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)- Overrides:
visitAnnotationin classorg.objectweb.asm.RecordComponentVisitor
-
visitEnd
public void visitEnd()
- Overrides:
visitEndin classorg.objectweb.asm.RecordComponentVisitor
-
-