| java.lang.Object spoon.support.util.ClassFileUtil
ClassFileUtil | public class ClassFileUtil (Code) | | |
Method Summary | |
static int | adjustCodeAttribute(byte[] bytes, int offset, Map<Integer, Integer> lineNumberMapping) | static int | adjustLineNumberAttribute(byte[] bytes, int offset, Map<Integer, Integer> lineNumberMapping) | public static void | adjustLineNumbers(byte[] bytes, int methodsOffset, Map<Integer, Integer> lineNumberMapping) | static int | adjustMethod(byte[] bytes, int offset, Map<Integer, Integer> lineNumberMapping) | static String | buildAllDirectoriesInto(String outputPath, String relativeFileName) | static String | getPoolString(byte[] bytes, int index) | public static void | printBytes(byte[] bytes, int offset) | static int | skipPoolConstant(byte[] bytes, int offset) | static int | u2(byte[] bytes, int offset) | static long | u4(byte[] bytes, int offset) | public static void | writeToDisk(boolean generatePackagesStructure, String outputPath, String relativeFileName, byte[] bytes) |
adjustCodeAttribute | static int adjustCodeAttribute(byte[] bytes, int offset, Map<Integer, Integer> lineNumberMapping)(Code) | | |
adjustLineNumberAttribute | static int adjustLineNumberAttribute(byte[] bytes, int offset, Map<Integer, Integer> lineNumberMapping)(Code) | | |
adjustLineNumbers | public static void adjustLineNumbers(byte[] bytes, int methodsOffset, Map<Integer, Integer> lineNumberMapping)(Code) | | |
getPoolString | static String getPoolString(byte[] bytes, int index)(Code) | | |
printBytes | public static void printBytes(byte[] bytes, int offset)(Code) | | |
skipPoolConstant | static int skipPoolConstant(byte[] bytes, int offset)(Code) | | |
u2 | static int u2(byte[] bytes, int offset)(Code) | | |
u4 | static long u4(byte[] bytes, int offset)(Code) | | |
writeToDisk | public static void writeToDisk(boolean generatePackagesStructure, String outputPath, String relativeFileName, byte[] bytes) throws IOException(Code) | | |
|
|