private static MavenCoords parsePath(VirtualFile jar) {
    String jarName = jar.getNameWithoutExtension();

    var parent1 = jar.getParent();
    if (parent1 == null) return null;

    var parent2 = parent1.getParent();
    if (parent2 == null) return null;

    var artifactId= parent2.getName();
    var version = parent1.getName();

    String jarPathName = artifactId + "-" + version;
    if (!jarPathName.equals(jarName)) return null;

    return new MavenCoords(artifactId, version);
  }
private static MavenCoords parsePath(VirtualFile jar)