FileKind (PsiFile file) { String nameSpace = MavenDomUtil.getXmlSettingsNameSpace(file); if (nameSpace == null) return FileKind.SETTINGS_FILE; if (nameSpace.contains("1.1.0")) return FileKind.SETTINGS_FILE_1_1; if (nameSpace.contains("1.2.0")) return FileKind.SETTINGS_FILE_1_2; return FileKind.SETTINGS_FILE; }