- protected void internalTransform(Body body, String phaseName, Map options) {
- SootClass c = body.getMethod().getDeclaringClass();
+ public SootMethodRef convert(SootMethodRef mr) {
+ List l = mr.parameterTypes();
+ List l2 = new LinkedList();
+ for(Iterator it2 = l.iterator(); it2.hasNext();) {
+ Type t = (Type)it2.next();
+ l2.add(isGladiatorType(t) ? IntType.v() : t);
+ }
+ return Scene.v().makeMethodRef(mr.declaringClass(),
+ mr.name(),
+ l2,
+ isGladiatorType(mr.returnType()) ? IntType.v() : mr.returnType(),
+ mr.isStatic());
+ }