void (GenericDomValue<String> domValue, DomElementAnnotationHolder holder, @NonNls String... templateWords) { String text = domValue.getStringValue(); if (text == null) return; for (String word : StringUtil.getWordsIn(text)) { for (String templateWord : templateWords) { if (StringUtil.equalsIgnoreCase(word, templateWord)) { holder.createProblem(domValue, DevKitBundle.message("inspections.plugin.xml.must.not.contain.template.text", templateWord)); } } } }