protected class TypePool.Default.TypeExtractor.FieldExtractor
extends org.objectweb.asm.FieldVisitor
Modifier and Type | Field and Description |
---|---|
private java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> |
annotationTokens
A list of annotation tokens found for this field.
|
private java.lang.String |
descriptor
The descriptor of the field type.
|
private java.lang.String |
genericSignature
The generic signature of the field or
null if it is not generic. |
private java.lang.String |
internalName
The name of the field.
|
private int |
modifiers
The modifiers found on the field.
|
private java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> |
typeAnnotationTokens
A mapping of the field type's type annotations.
|
Modifier | Constructor and Description |
---|---|
protected |
FieldExtractor(int modifiers,
java.lang.String internalName,
java.lang.String descriptor,
java.lang.String genericSignature)
Creates a new field extractor.
|
Modifier and Type | Method and Description |
---|---|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String descriptor,
boolean visible) |
void |
visitEnd() |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int rawTypeReference,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible) |
private final int modifiers
private final java.lang.String internalName
private final java.lang.String descriptor
private final java.lang.String genericSignature
null
if it is not generic.private final java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> typeAnnotationTokens
private final java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens
protected FieldExtractor(int modifiers, java.lang.String internalName, java.lang.String descriptor, java.lang.String genericSignature)
modifiers
- The modifiers found for this field.internalName
- The name of the field.descriptor
- The descriptor of the field type.genericSignature
- The generic signature of the field or null
if it is not generic.public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
visitTypeAnnotation
in class org.objectweb.asm.FieldVisitor
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)
visitAnnotation
in class org.objectweb.asm.FieldVisitor
public void visitEnd()
visitEnd
in class org.objectweb.asm.FieldVisitor