org.dellroad.jc.cgen
Class DefaultMethodOptimizer

java.lang.Object
  extended byorg.dellroad.jc.cgen.DefaultMethodOptimizer
All Implemented Interfaces:
MethodOptimizer

public class DefaultMethodOptimizer
extends Object
implements MethodOptimizer

Default implementation of MethodOptimizer.


Constructor Summary
DefaultMethodOptimizer()
           
 
Method Summary
 void optimize(JimpleBody body)
          This method applies the jtp and jop packs to the supplied method body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMethodOptimizer

public DefaultMethodOptimizer()
Method Detail

optimize

public void optimize(JimpleBody body)
This method applies the jtp and jop packs to the supplied method body.

Specified by:
optimize in interface MethodOptimizer