String () { if (myPackageRoot.isEquivalentTo(myDirectory)) return ""; final String root = myPackageRoot.getVirtualFile().getPath(); final String current = myDirectory.getVirtualFile().getPath(); return current.substring(root.length() + 1).replace("/", DELIMITER) + DELIMITER; }