change the api of jimple