|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bridj.util.BytecodeAnalyzer
public final class BytecodeAnalyzer
Util class that scavenges through a class' bytecode to retrieve the original order of fields and methods, as defined in the sources (unlike what the reflection APIs return : they don't guarantee the order).
Method Summary | |
---|---|
static List<String> |
getFieldNames(Class c,
Class recurseTo)
|
static List<String> |
getMethodNames(Class c,
Class recurseTo)
|
static List<String[]> |
getNativeMethodSignatures(Class c)
Returns array of String[] { declaringClassInternalName, methodName, signature } |
static List<String[]> |
getNativeMethodSignatures(String internalName,
ClassLoader classLoader)
Returns array of String[] { declaringClassInternalName, methodName, signature } |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<String[]> getNativeMethodSignatures(Class c) throws IOException
IOException
public static List<String[]> getNativeMethodSignatures(String internalName, ClassLoader classLoader) throws IOException
IOException
public static List<String> getFieldNames(Class c, Class recurseTo) throws IOException
IOException
public static List<String> getMethodNames(Class c, Class recurseTo) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |