remove unused method

This commit is contained in:
Eugene Zhuravlev
2015-01-08 11:40:16 +01:00
parent 3eaeb3b8d6
commit e330994cb9
@@ -266,15 +266,6 @@ public class NotNullVerifyingInstrumenter extends ClassVisitor implements Opcode
};
}
private static int getParameterIndex(int localVarIndex, int methodAccess, Type[] paramTypes) {
final boolean isStatic = (methodAccess & ACC_STATIC) != 0;
int parameterIndex = isStatic ? localVarIndex : localVarIndex - 1;
if (parameterIndex >= paramTypes.length) {
parameterIndex = -1;
}
return parameterIndex;
}
private static boolean isReferenceType(final Type type) {
return type.getSort() == Type.OBJECT || type.getSort() == Type.ARRAY;
}