GrExpression () { if (mySettings.removeLocalVar()) { return extractVarInitializer(); } GrExpression expression = myContext.getExpression(); StringPartInfo stringPart = myContext.getStringPart(); if (expression != null) { return expression; } else if (stringPart != null) { return stringPart.createLiteralFromSelected(); } throw new IncorrectOperationException("cannot be here!"); }