code: public RelationshipRepository<Resource, String, Resource, String> getRepositoryForPath(String sourceResourceType,
                                                                                             String targetResourceType) {
          init();
  
          ResourceInformation sourceResourceInformation =
                  new ResourceInformation(moduleRegistry.getTypeParser(), Resource.class, sourceResourceType, null, null,
                          PagingSpec.class);
          return (RelationshipRepository<Resource, String, Resource, String>) decorate(new RelationshipRepositoryStubImpl<>(this, Resource.class, Resource.class, sourceResourceInformation, urlBuilder));
      }
docs: Generic access using {@link Resource} class without type mapping.