JPA Method
in jakarta.persistence.EntityManagerFactory

Map<String,EntityGraph<?extendsE>> getNamedEntityGraphs(
  Class<E> entityType
)


A map keyed by plain, containing every named plain whose entity type is assignable to the given Java type.
Parameters:
entityType - any Java type, including {@code Object.class} meaning all entity graphs
< E > - the specified upper bound on the entity graph types
Return:
a map keyed by graph name
Since:
JPA 3.2