void (JqlList list) { JqlSimpleClause clause = PsiTreeUtil.getParentOfType(list, JqlSimpleClause.class); if (clause != null && !isListClause(clause)) { holder.newAnnotation(HighlightSeverity.ERROR, TaskBundle.message("inspection.message.not.expecting.list.values.here")).create(); } }