@Contract("null -> null")
    private @Nullable TextRange getRange(@Nullable PsiCodeBlock block) {
      if (block == null) return null;
      PsiStatement[] statements = block.getStatements();
      if (statements.length < myFrom + myLength) return null;
      return statements[myFrom].getTextRangeInParent().union(statements[myFrom + myLength - 1].getTextRangeInParent());
    }
@Contract("null -> null")
    private @Nullable TextRange getRange(@Nullable PsiCodeBlock block)