applyMethod.setName("apply");
applyMethod.setReturnType(method.getReturnType());
int paramIndex = 0;
for (JimpleType type : method.getParameterTypes()) {
applyMethod.addParameter(type, "p" + paramIndex);
paramIndex++;
}
StringBuilder call = new StringBuilder();
call.append("staticinvoke ").append(method.signature()).append("(");