private static boolean skipByRefiner(@NotNull PsiFile file,
                                       @NotNull ExceptionLineRefiner refiner,
                                       int lineStart,
                                       int lineEnd) {
    if (refiner.getExceptionInfo() != null) {
      PsiElement element = file.findElementAt(lineStart);
      Document document = PsiDocumentManager.getInstance(file.getProject()).getDocument(file);
      if (document == null) {
        return true;
      }
      while (element != null && element.getTextRange().getStartOffset() < lineEnd) {
        PsiElement parent = PsiTreeUtil.getParentOfType(element, PsiStatement.class, PsiField.class);
        if (parent != null) {
          int startOffset = parent.getTextRange().getStartOffset();
          int lineNumberStart = document.getLineNumber(startOffset);
          int lineNumberEnd = document.getLineNumber(startOffset + parent.getTextLength());
          if (lineNumberStart != lineNumberEnd) {
            return true;
          }
        }
        element = PsiTreeUtil.nextLeaf(element);
      }
    }
    return false;
  }
private static boolean skipByRefiner(@NotNull PsiFile file,
                                       @NotNull ExceptionLineRefiner refiner,
                                       int lineStart,
                                       int lineEnd)