public class CollectReferencesVisitor extends EmptyVisitor
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
referencedTypes |
av, fv, mv
Modifier and Type | Method and Description |
---|---|
protected void |
addTypeIfClass(String desc) |
protected void |
addTypeIfClass(org.objectweb.asm.Type type) |
Set<String> |
getReferencedTypes() |
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces) |
org.objectweb.asm.FieldVisitor |
visitField(int access,
String name,
String desc,
String signature,
Object value) |
void |
visitInnerClass(String name,
String outerName,
String innerName,
int access) |
org.objectweb.asm.MethodVisitor |
visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions) |
void |
visitOuterClass(String owner,
String name,
String desc) |
visitAnnotation
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
visit
in class org.objectweb.asm.ClassVisitor
public org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
visitField
in class EmptyVisitor
public void visitInnerClass(String name, String outerName, String innerName, int access)
visitInnerClass
in class org.objectweb.asm.ClassVisitor
name
- internal name of the inner classouterName
- internal name of the enclosing classpublic org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
visitMethod
in class EmptyVisitor
public void visitOuterClass(String owner, String name, String desc)
visitOuterClass
in class org.objectweb.asm.ClassVisitor
owner
- internal name of owning classprotected void addTypeIfClass(String desc)
protected void addTypeIfClass(org.objectweb.asm.Type type)
Copyright © 2018. All rights reserved.