You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
574 B
20 lines
574 B
package jode;
|
|
import sun.tools.java.*;
|
|
import java.lang.reflect.Modifier;
|
|
|
|
public class Decompiler {
|
|
public static boolean isVerbose = false;
|
|
public static boolean isDebugging = false;
|
|
|
|
public static void main(String[] params) {
|
|
JodeEnvironment env = new JodeEnvironment();
|
|
for (int i=0; i<params.length; i++) {
|
|
if (params[i].equals("-v"))
|
|
isVerbose = true;
|
|
else if (params[i].equals("-debug"))
|
|
isDebugging = true;
|
|
else
|
|
env.doClass(params[i]);
|
|
}
|
|
}
|
|
}
|
|
|