FileKind (PsiFile file) { if (MavenDomUtil.isProjectFile(file)) return FileKind.PROJECT_FILE; if (MavenDomUtil.isProfilesFile(file)) return FileKind.PROFILES_FILE; if (MavenDomUtil.isSettingsFile(file)) return getSettingsFileKind(file); return null; }