@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
@Override public Method getTargetClassMethod(Method method) { return repositoryInformation.getTargetClassMethod(method); }
public Object invoke(MethodInvocation invocation) throws Throwable { Method method = invocation.getMethod(); if (isCustomMethodInvocation(invocation)) { Method actualMethod = repositoryInformation.getTargetClassMethod(method); makeAccessible(actualMethod); return executeMethodOn(customImplementation, actualMethod, invocation.getArguments()); } if (hasQueryFor(method)) { return queries.get(method).execute(invocation.getArguments()); } // Lookup actual method as it might be redeclared in the interface // and we have to use the repository instance nevertheless Method actualMethod = repositoryInformation.getTargetClassMethod(method); return executeMethodOn(target, actualMethod, invocation.getArguments()); }
Method targetClassMethod = repositoryInformation.getTargetClassMethod(method);