org_apache_struts2_oval_interceptor_OValValidationInterceptorTest_java
ognl.OgnlRuntime
private static final boolean indexMethodCheck(List methods) {
        boolean result = false;
        if (methods.size() > 0) {
            Method fm = (Method)methods.get(0);
            Class[] fmpt = OgnlRuntime.getParameterTypes(fm);
            int fmpc = fmpt.length;
            Class<?> lastMethodClass = fm.getDeclaringClass();
            result = true;
            for (int i = 1; result && i < methods.size(); ++i) {
                Method m = (Method)methods.get(i);
                Class<?> c = m.getDeclaringClass();
                if (lastMethodClass == c) {
                    result = false;
                } else {
                    Class[] mpt = OgnlRuntime.getParameterTypes(fm);
                    int mpc = fmpt.length;
                    if (fmpc != mpc) {
                        result = false;
                    }
                    for (int j = 0; j < fmpc; ++j) {
                        if (fmpt[j] == mpt[j]) continue;
                        result = false;
                        break;
                    }
                }
                lastMethodClass = c;
            }
        }
        return result;
    }
 -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.lang.reflect.Method.getParameterTypes(): java.lang.Class[] -> java.util.Map.put(java.lang.Object,java.lang.Object): java.lang.Object -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class
 [CALL] -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object [CALL] -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.lang.reflect.Method.getParameterTypes(): java.lang.Class[] -> java.util.Map.put(java.lang.Object,java.lang.Object): java.lang.Object [EXIT] -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class -> java.util.List.size(): int -> java.util.List.get(int): java.lang.Object -> java.lang.reflect.Method.getDeclaringClass(): java.lang.Class [EXIT]