PsiElement () { PsiElement result = super.doResolve(); if (result != null) return result; for (String each : myMavenProject.getFilterPropertiesFiles()) { VirtualFile file = LocalFileSystem.getInstance().findFileByPath(each); if (file == null) continue; IProperty property = MavenDomUtil.findProperty(myProject, file, myText); if (property != null) return property.getPsiElement(); } return null; }