this.entityGraph = findEntityGraph(method);
}
private static final JpaEntityGraph findEntityGraph(Method method) {
EntityGraph entityGraphAnnotation = AnnotationUtils.findAnnotation(method, EntityGraph.class);
return entityGraphAnnotation == null ? null : new JpaEntityGraph(entityGraphAnnotation.value(),
entityGraphAnnotation.type());
}