class DefaultLocalRepositoryManager implements LocalRepositoryManager {

    @Override
    public Path getPathForLocalArtifact(Session session, LocalRepository local, Artifact artifact) {
        InternalSession s = InternalSession.from(session);
        String path = getManager(s, local).getPathForLocalArtifact(s.toArtifact(artifact));
        return local.getPath().resolve(path);
    }

    @Override
    public Path getPathForRemoteArtifact(
            Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) {
        InternalSession s = InternalSession.from(session);
        String path =
                getManager(s, local).getPathForRemoteArtifact(s.toArtifact(artifact), s.toRepository(remote), null);
        return local.getPath().resolve(path);
    }

    private org.eclipse.aether.repository.LocalRepositoryManager getManager(
            InternalSession session, LocalRepository local) {<FILL_FUNCTION_BODY>}
}

        org.eclipse.aether.repository.LocalRepository repository = session.toRepository(local);
        if ("enhanced".equals(repository.getContentType())) {
            repository = new org.eclipse.aether.repository.LocalRepository(repository.getBasedir(), "");
        }
        return session.getRepositorySystem().newLocalRepositoryManager(session.getSession(), repository);
    
<no_super_class>