TextRange (@NotNull KtTryExpression expression) { KtFinallySection block = expression.getFinallyBlock(); assert block != null : "Finally block should exists for " + expression.getText(); KtExpression blockExpression = block.getFinalExpression().getStatements().get(0); return blockExpression.getTextRange(); }