void (@NotNull PsiType qualifierType, @Nullable PsiClass aClass, @NotNull PsiScopeProcessor processor, @NotNull PsiElement place, @NotNull ResolveState state) { if (aClass == null) return; PsiElement pomElement = aClass.getContainingFile().getContext(); if (pomElement == null) return; PsiFile pomFile = pomElement.getContainingFile(); if (!(pomFile instanceof XmlFile)) return; DomManager domManager = DomManager.getDomManager(pomElement.getProject()); if (!(domManager.getDomFileDescription((XmlFile)pomFile) instanceof MavenDomProjectModelDescription)) { return; } DynamicMemberUtils.process(processor, false, place, CLASS_SOURCE); }