org_apache_struts2_convention_PackageBasedActionConfigBuilderTest_java
org.easymock.internal.ObjectMethodsFilter
public ObjectMethodsFilter(Class<?> toMock, MockInvocationHandler delegate, String name) {
        if (name != null && !Invocation.isJavaIdentifier(name)) {
            throw new IllegalArgumentException(String.format("'%s' is not a valid Java identifier.", name));
        }
        if (toMock.isInterface()) {
            this.equalsMethod = ReflectionUtils.OBJECT_EQUALS;
            this.hashCodeMethod = ReflectionUtils.OBJECT_HASHCODE;
            this.toStringMethod = ReflectionUtils.OBJECT_TOSTRING;
            this.finalizeMethod = ReflectionUtils.OBJECT_FINALIZE;
        } else {
            try {
                this.equalsMethod = ObjectMethodsFilter.extractMethod(toMock, "equals", Object.class);
                this.hashCodeMethod = ObjectMethodsFilter.extractMethod(toMock, "hashCode", null);
                this.toStringMethod = ObjectMethodsFilter.extractMethod(toMock, "toString", null);
                this.finalizeMethod = ReflectionUtils.findMethod(toMock, "finalize", NOT_PRIVATE, null);
            }
            catch (NoSuchMethodException e) {
                throw new RuntimeException("An Object method could not be found!", e);
            }
        }
        this.delegate = delegate;
        this.name = name;
    }
 -> java.lang.Class.isInterface(): boolean -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method
 [CALL] -> java.lang.Class.isInterface(): boolean [CALL] -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method [EXIT] [CALL] -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method [EXIT] [CALL] -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method [EXIT] [CALL] -> java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]): java.lang.reflect.Method [EXIT] [EXIT]