@Override public Object answer(InvocationOnMock invocation) throws Throwable { Method method = invocation.getMethod(); if (!handler.isProxyable(method, invocation.getArguments())) { violations.add(method); } return null; }
@Override public Object answer(InvocationOnMock invocation) throws Throwable { Method method = invocation.getMethod(); if (handler.isProxyable(method, invocation.getArguments())) { violations.add(method); } return null; }
return null; if (isProxyable(method, args) && !(result instanceof GrapheneProxyInstance)) { Class<?>[] interfaces = GrapheneProxyUtil.getInterfaces(result.getClass());
return null; if (isProxyable(method, args) && !(result instanceof GrapheneProxyInstance)) { Class<?>[] interfaces = GrapheneProxyUtil.getInterfaces(result.getClass());