public class ClassAnalyser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ClassAnalyser.AsmMethod
Represents a method in ASM.
|
Constructor and Description |
---|
ClassAnalyser() |
Modifier and Type | Method and Description |
---|---|
static ClassAnalyser |
getDefault()
Retrieve the default instance.
|
java.util.List<ClassAnalyser.AsmMethod> |
getMethodCalls(java.lang.Class<?> clazz,
java.lang.reflect.Method method)
Retrieve every method calls in the given method.
|
java.util.List<ClassAnalyser.AsmMethod> |
getMethodCalls(java.lang.reflect.Method method)
Retrieve every method calls in the given method.
|
public static ClassAnalyser getDefault()
public java.util.List<ClassAnalyser.AsmMethod> getMethodCalls(java.lang.reflect.Method method) throws java.io.IOException
method
- - the method to analyse.java.io.IOException
- Cannot access the parent class.public java.util.List<ClassAnalyser.AsmMethod> getMethodCalls(java.lang.Class<?> clazz, java.lang.reflect.Method method) throws java.io.IOException
clazz
- - the parent class.method
- - the method to analyse.java.io.IOException
- Cannot access the parent class.