ExpressionInfo (@NotNull Project project, @NotNull Document document, int offset, boolean sideEffectsAllowed) { TextRange range = getExpressionRangeAtOffset(project, document, offset, sideEffectsAllowed); return range == null ? null : new ExpressionInfo(range); }