protected class TypePool.Default.TypeExtractor
extends org.objectweb.asm.ClassVisitor
| Modifier and Type | Class and Description |
|---|---|
protected class |
TypePool.Default.TypeExtractor.AnnotationExtractor
An annotation extractor reads an annotation found in a class field an collects data that
is relevant to creating a related annotation description.
|
protected class |
TypePool.Default.TypeExtractor.FieldExtractor
A field extractor reads a field within a class file and collects data that is relevant
to creating a related field description.
|
protected class |
TypePool.Default.TypeExtractor.MethodExtractor
A method extractor reads a method within a class file and collects data that is relevant
to creating a related method description.
|
protected class |
TypePool.Default.TypeExtractor.RecordComponentExtractor
A record component extractor reads a record component's information within a class file.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TypeExtractor()
Creates a new type extractor.
|
| Modifier and Type | Method and Description |
|---|---|
protected TypeDescription |
toTypeDescription()
Creates a type description from all data that is currently collected.
|
void |
visit(int classFileVersion,
int modifiers,
String internalName,
String genericSignature,
String superClassName,
String[] interfaceName) |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String descriptor,
boolean visible) |
org.objectweb.asm.FieldVisitor |
visitField(int modifiers,
String internalName,
String descriptor,
String genericSignature,
Object value) |
void |
visitInnerClass(String internalName,
String outerName,
String innerName,
int modifiers) |
org.objectweb.asm.MethodVisitor |
visitMethod(int modifiers,
String internalName,
String descriptor,
String genericSignature,
String[] exceptionName) |
void |
visitNestHost(String nestHost) |
void |
visitNestMember(String nestMember) |
void |
visitOuterClass(String typeName,
String methodName,
String methodDescriptor) |
void |
visitPermittedSubclass(String permittedSubclass) |
org.objectweb.asm.RecordComponentVisitor |
visitRecordComponent(String name,
String descriptor,
String signature) |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int rawTypeReference,
org.objectweb.asm.TypePath typePath,
String descriptor,
boolean visible) |
public void visit(int classFileVersion,
int modifiers,
String internalName,
@MaybeNull
String genericSignature,
@MaybeNull
String superClassName,
@MaybeNull
String[] interfaceName)
visit in class org.objectweb.asm.ClassVisitorpublic void visitOuterClass(@MaybeNull String typeName, @MaybeNull String methodName, String methodDescriptor)
visitOuterClass in class org.objectweb.asm.ClassVisitorpublic void visitInnerClass(String internalName, @MaybeNull String outerName, @MaybeNull String innerName, int modifiers)
visitInnerClass in class org.objectweb.asm.ClassVisitorpublic org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int rawTypeReference,
@MaybeNull
org.objectweb.asm.TypePath typePath,
String descriptor,
boolean visible)
visitTypeAnnotation in class org.objectweb.asm.ClassVisitorpublic org.objectweb.asm.AnnotationVisitor visitAnnotation(String descriptor, boolean visible)
visitAnnotation in class org.objectweb.asm.ClassVisitorpublic org.objectweb.asm.FieldVisitor visitField(int modifiers,
String internalName,
String descriptor,
@MaybeNull
String genericSignature,
@MaybeNull
Object value)
visitField in class org.objectweb.asm.ClassVisitor@MaybeNull public org.objectweb.asm.MethodVisitor visitMethod(int modifiers, String internalName, String descriptor, @MaybeNull String genericSignature, @MaybeNull String[] exceptionName)
visitMethod in class org.objectweb.asm.ClassVisitorpublic void visitNestHost(String nestHost)
visitNestHost in class org.objectweb.asm.ClassVisitorpublic void visitNestMember(String nestMember)
visitNestMember in class org.objectweb.asm.ClassVisitorpublic org.objectweb.asm.RecordComponentVisitor visitRecordComponent(String name, String descriptor, @MaybeNull String signature)
visitRecordComponent in class org.objectweb.asm.ClassVisitorpublic void visitPermittedSubclass(String permittedSubclass)
visitPermittedSubclass in class org.objectweb.asm.ClassVisitorprotected TypeDescription toTypeDescription()
Copyright © 2014–2022. All rights reserved.