Package org.candle.decompiler.test

Source Code of org.candle.decompiler.test.BCELMainTest

package org.candle.decompiler.test;

import java.io.File;

import org.candle.decompiler.CandleDecompiler;
import org.candle.decompiler.DecompilerException;



public class BCELMainTest {

    public static void main(String[] argv) throws DecompilerException
    {
     
      //TODO: Fix TRY/CATCH/Finally
      //Fix: Array Iterator
      //Fix: Else clause in last switch statement.
     
      String className = "org.candle.decompiler.test.TestSimpleCondition";
      //String className = "org.candle.decompiler.test.TestTryCatch";

     // String className = "org.candle.decompiler.test.TestSwitch";
     
    // String className = "org.candle.decompiler.test.TestConditionsBlock";
     //String className = "org.candle.decompiler.test.TestSwitch";
     // String className = "org.candle.decompiler.test.TestFinallyAdvanced";
     
      //works
     // String className = "org.candle.decompiler.test.TestArrayAssignment";
      //String className = "org.candle.decompiler.test.TestSimpleLoops";
       
      CandleDecompiler decompiler = new CandleDecompiler();
      decompiler.decompile(className);
     
      //File clz = new File("/Users/bradsdavis/Projects/workspace/clzTest/ObjectGridProvider.class");
      //decompiler.decompile(clz, new File("/Users/bradsdavis/Projects/workspace/clzTest/test.src"));
     
     File clz = new File("/Users/bradsdavis/Projects/workspace/clzTest/ClassLoaderAdapterCallback.class");
     //decompiler.decompile(clz, new File("/Users/bradsdavis/Projects/workspace/clzTest/test.src"));
    }
}
TOP

Related Classes of org.candle.decompiler.test.BCELMainTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.