@Override
  public @Nullable HighlightInfo create() {
    HighlightInfo info = createUnconditionally();
    LOG.assertTrue(psiElement != null ||
                   severity == HighlightInfoType.SYMBOL_TYPE_SEVERITY ||
                   severity == HighlightInfoType.INJECTED_FRAGMENT_SEVERITY ||
                   ArrayUtil.find(HighlightSeverity.DEFAULT_SEVERITIES, severity) != -1,
                   "Custom type requires not-null element to detect its text attributes");
    return isAcceptedByFilters(info, psiElement) ? info : null;
  }
@Override
  public @Nullable HighlightInfo create()