private boolean checkRangeContainsOffset(int offset, TextRange textRange, PsiElement element) {
    return checkRangeContainsOffset(offset, textRange, element, element.getTextRange().getStartOffset());
  }
private boolean checkRangeContainsOffset(int offset, TextRange textRange, PsiElement element)