Package org.apache.bcel.util

Examples of org.apache.bcel.util.Class2HTML


   * Test for JavaClass speedup(JavaClass)
   */
  public void testSpeedupJavaClass() throws IOException {
    //System.out.println(before);
    JavaClass beforeClass = getJavaClassForSource(getFilename(), getBefore());
    new Class2HTML(beforeClass, tempdir.getPath()+File.separator+"before"+File.separator);
    JavaClass afterClass = getJavaClassForSource(getFilename(), getAfter());
    new Class2HTML(afterClass, tempdir.getPath()+File.separator+"after"+File.separator);
    JavaClass justLogClass = Transform.speedup(beforeClass);
    new Class2HTML(justLogClass, tempdir.getPath()+File.separator+"modified"+File.separator);
    //assertNotSame(beforeClass.getBytes(),justLog.getBytes());
   
    //justLog.dump(new File(tempdir, "justlog.class"));
   
   
View Full Code Here

TOP

Related Classes of org.apache.bcel.util.Class2HTML

Copyright © 2018 www.massapicom. 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.