| Modifier and Type | Class and Description |
|---|---|
| private static class | Utility.JavaReader
Decode characters into bytes. |
| private static class | Utility.JavaWriter
Encode bytes into valid Java identifier characters. |
| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| private static final ThreadLocal | |
| private static final char | |
| private static final int | |
| private static final int[] | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: String representation of flagsAccess flags accessFlags)Convert bit field of flags into string such as 'static final'. |
| public static String | Returns: String representation of flagsAccess flags accessFlags, final boolean access flags are for class qualifiers ? forClass)Convert bit field of flags into string such as 'static final'. |
| private static short | byteToShort(final byte b)
Convert (signed) byte to (unsigned) short value, i.e., all negative values become positive. |
| public static String | Returns: "class" or "interface", depending on the ACC_INTERFACE flagthe class flags accessFlags)
|
| public static int | |
| public static String | |
| public static String | Returns: String representation of byte codesbyte code array code, final ConstantPool Array of constants constantPool, final int offset in 'code' array (number of opcodes, not bytes!) index, final int number of opcodes to decompile, -1 for all length, final boolean be verbose, e.g. print constant pool index verbose)Disassemble a byte array of JVM byte codes starting from code line 'index' and return the disassembled string representation. |
| public static String | |
| public static String | Returns: String representation of byte codestream of bytes bytes, final ConstantPool Array of constants constantPool, final boolean be verbose, e.g. print constant pool index verbose)Disassemble a stream of byte codes and return the string representation. |
| public static String | Returns: Compacted class nameThe long class name str)Shorten long class names, java/lang/String becomes String. |
| public static String | Returns: Compacted class nameThe long class name str, final boolean flag that determines whether chopping is executed or not chopit)Shorten long class names, java/lang/String becomes java.lang.String, e.g.. |
| public static String | Returns: Compacted class nameThe long class name str, final String The prefix the get rid off prefix, final boolean flag that determines whether chopping is executed or not chopit)Shorten long class name str, i.e., chop off the prefix, if the class name starts with this string and the flag chopit is true. |
| public static String | |
| private static int | |
| public static byte[] | |
| public static String | encode(byte[]
the byte array to convert bytes, final boolean use gzip to minimize string compress)Encode byte array it into Java identifier string, i.e., a string that only contains the following characters: (a, ... |
| public static String | |
| public static String | Returns: formatted intinteger to format i, final int length of desired string length, final boolean format left or right leftJustify, final char fill character fill)Return a string for an integer justified left or right and filled up with 'fill' characters if necessary. |
| public static String | Returns: byte code signatureJava type type)Parse Java type such as "char", or "java.lang.String[]" and return the signature in byte code format, e.g. "C" or "[Ljava/lang/String;" respectively. |
| public static boolean | Returns: true, if character is one of (a, ... z, A, ... Z, 0, ... 9, _)the character to test if it's part of an identifier ch)
|
| public static boolean | |
| public static String[] | Returns: String Array of argument typesMethod signature signature)Converts argument list portion of method signature to string with all class names compacted. |
| public static String[] | Returns: String Array of argument typesMethod signature signature, final boolean flag that determines whether chopping is executed or not chopit)Converts argument list portion of method signature to string. |
| public static String | Returns: String representation of method return typeMethod signature signature)Converts return type portion of method signature to string with all class names compacted. |
| public static String | Returns: String representation of method return typeMethod signature signature, final boolean flag that determines whether chopping is executed or not chopit)Converts return type portion of method signature to string. |
| public static String | Returns: Human readable signatureto convert signature, final String of method name, final String flags of method access)Converts method signature to string with all class names compacted. |
| public static String | Returns: Human readable signatureto convert signature, final String of method name, final String flags of method access, final boolean flag that determines whether chopping is executed or not chopit)Converts method signature to string. |
| public static String | Returns: Java type declarationMethod signature signature, final String Method name name, final String Method access rights access, final boolean flag that determines whether chopping is executed or not chopit, final LocalVariableTable the LocalVariableTable for the method vars)This method converts a method signature string into a Java type declaration like 'void main(String[])' and throws a 'ClassFormatException' when the parsed type is invalid. |
| public static String | Returns: Byte code representation of method signatureReturn type of method ret, final String[] Types of method arguments argv)Converts string containing the method return and argument types to a byte code method signature. |
| public static String | |
| public static String | Returns: a package name.the source path. str)Converts a path to a package name. |
| private static int | |
| public static String | |
| public static String | |
| public static String | |
| public static void | |
| public static void | |
| public static String | |
| public static short | |
| public static int | |
| public static String | Returns: String containg human readable signaturesignature to convert signature)Converts a signature to a string with all class names compacted. |
| public static String | Returns: String containg human readable signaturesignature to convert signature, final boolean flag that determines whether chopping is executed or not chopit)Converts a signature to a string. |
| public static String | Returns: bytes as hexadecimal string, e.g. 00 fa 12 ...an array of bytes to convert to hexadecimal bytes)Convert bytes into hexadecimal string |
| public static byte | Returns: type of method signaturein format described above signature)Return type of method signature as a byte value as defined in Constants |
| public static byte | Returns: type of signaturein format described above signature)Return type of signature as a byte value as defined in Constants |
| private static String | Returns: String containg human readable signaturesignature to convert signature, final boolean flag that determines whether chopping is executed or not chopit)Converts a type parameter list signature to a string. |
| private static String | Returns: String containg human readable signaturesignature to convert signature, final boolean flag that determines whether chopping is executed or not chopit)Converts a type parameter signature to a string. |
| private static String | Returns: String containg human readable signaturesignature to convert signature, final boolean flag that determines whether chopping is executed or not chopit, final char character indicating the end of the list term)Converts a list of type signatures to a string. |
| public static String | Returns: string containing human readable type signaturetype signature signature, final boolean flag that determines whether chopping is executed or not chopit)This method converts a type signature string into a Java type declaration such as 'String[]' and throws a 'ClassFormatException' when the parsed type is invalid. |
| private static int | |
| private static void |