public static RopMethod optimize(RopMethod rmeth,int paramWidth,boolean isStatic,boolean inPreserveLocals,TranslationAdvice inAdvice){
  return optimize(rmeth,paramWidth,isStatic,inPreserveLocals,inAdvice,EnumSet.allOf(OptionalStep.class));
}

public static RopMethod optimize ( RopMethod rmeth , int paramWidth , boolean isStatic , boolean inPreserveLocals , TranslationAdvice inAdvice ) { return optimize ( rmeth , paramWidth , isStatic , inPreserveLocals , inAdvice , EnumSet . allOf ( OptionalStep . class ) ) ; }
runs optimization algorthims over this method , and returns a new instance of ropmethod with the changes .
