PsiElement () { if (!schemaHasProperty(MavenSchemaProvider.MAVEN_SETTINGS_SCHEMA_URL_1_2, myText)) return null; for (VirtualFile each : myProjectsManager.getGeneralSettings().getEffectiveSettingsFiles()) { MavenDomSettingsModel settingsDom = MavenDomUtil.getMavenDomModel(myProject, each, MavenDomSettingsModel.class); if (settingsDom == null) continue; PsiElement result = MavenDomUtil.findTag(settingsDom, myText); if (result != null) return result; } return myElement; }