boolean (PsiElement element) { if (element instanceof XmlTag) { for (MavenPluginParamInfo.ParamInfo info : MavenPluginParamInfo.getParamInfoList((XmlTag)element)) { if (Boolean.TRUE.equals(info.getParam().disableReferences)) { return false; } } } return true; }