String (@NotNull PsiDirectory directory, boolean includeUrl, boolean includeRootType) { String result = null; PsiPackage aPackage = JavaDirectoryService.getInstance().getPackage(directory); if (ProjectRootsUtil.isSourceRoot(directory) && aPackage != null) { //package prefix result = StringUtil.nullize(aPackage.getQualifiedName(), true); } String baseString = super.getLocationString(directory, includeUrl, includeRootType); if (result == null) return baseString; if (baseString == null) return result; return result + "," + FontUtil.spaceAndThinSpace() + baseString; }