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.
|
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 defaultValue) |
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 |
visitOuterClass(String typeName,
String methodName,
String methodDescriptor) |
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, String genericSignature, String superClassName, String[] interfaceName)
visit
in class org.objectweb.asm.ClassVisitor
public void visitOuterClass(String typeName, String methodName, String methodDescriptor)
visitOuterClass
in class org.objectweb.asm.ClassVisitor
public void visitInnerClass(String internalName, String outerName, String innerName, int modifiers)
visitInnerClass
in class org.objectweb.asm.ClassVisitor
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int rawTypeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible)
visitTypeAnnotation
in class org.objectweb.asm.ClassVisitor
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String descriptor, boolean visible)
visitAnnotation
in class org.objectweb.asm.ClassVisitor
public org.objectweb.asm.FieldVisitor visitField(int modifiers, String internalName, String descriptor, String genericSignature, Object defaultValue)
visitField
in class org.objectweb.asm.ClassVisitor
public org.objectweb.asm.MethodVisitor visitMethod(int modifiers, String internalName, String descriptor, String genericSignature, String[] exceptionName)
visitMethod
in class org.objectweb.asm.ClassVisitor
protected TypeDescription toTypeDescription()
Copyright © 2014–2018. All rights reserved.