TextBlockModel (@Nullable PsiLiteralExpression expression) { if (expression == null || !expression.isTextBlock()) return null; int baseIndent = getIndent(expression); if (baseIndent == -1) return null; TextRange range = expression.getTextRange(); if (range == null) return null; return new TextBlockModel(baseIndent, range); }