protected final void registerErrorAtOffset(@NotNull PsiElement location, int offset, int length, Object... infos) {
    registerErrorAtOffset(location, offset, length, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, infos);
  }
protected final void registerErrorAtOffset(@NotNull PsiElement location, int offset, int length, Object... infos)