public static void main(String[] args) throws Exception { ASMifier.main(new String[]{"target/classes/groovy/swing/SwingBuilder.class"}); // ASMifierClassVisitor.main(new String[]{"target/classes/org/codehaus/groovy/tools/shell/util/HelpFormatter.class"}); // ASMifierClassVisitor.main(new String[]{"target/classes/org/codehaus/groovy/runtime/callsite/PogoMetaMethodSite.class"}); // ASMifierClassVisitor.main(new String[]{"target/test-classes/spectralnorm.class"}); // ASMifierClassVisitor.main(new String[]{"target/test-classes/groovy/bugs/CustomMetaClassTest.class"}); } }
public static void main(String[] args) throws Exception { // Runnable r = new MyClassLoader().load().newInstance(); // r.run(); ASMifier.main(new String[]{Test.class.getCanonicalName()}); }
/** * Prints the ASM source code to generate the given class to the standard output. * * <p>Usage: ASMifier [-debug] <binary class name or class file name> * * @param args the command line arguments. * @throws IOException if the class cannot be found, or if an IOException occurs. */ public static void main(final String[] args) throws IOException { String usage = "Prints the ASM code to generate the given class.\n" + "Usage: ASMifier [-debug] <fully qualified class name or class file name>"; main(usage, new ASMifier(), args); }
/** * Prints the ASM source code to generate the given class to the standard output. * * <p>Usage: ASMifier [-debug] <binary class name or class file name> * * @param args the command line arguments. * @throws IOException if the class cannot be found, or if an IOException occurs. */ public static void main(final String[] args) throws IOException { String usage = "Prints the ASM code to generate the given class.\n" + "Usage: ASMifier [-debug] <fully qualified class name or class file name>"; main(usage, new ASMifier(), args); }
@Test public void generateASM() throws Exception { ASMifier.main( new String[]{ SomeMixin_Stubx.class.getName() } ); }