if (!(parameter instanceof StringLiteralExpression)) {
return null;
}
StringLiteralExpression stringLiteralExpression = (StringLiteralExpression) parameter;
String stringValue = stringLiteralExpression.getText();
String value = stringValue.substring(stringLiteralExpression.getValueRange().getStartOffset(), stringLiteralExpression.getValueRange().getEndOffset());
// wtf: ???
// looks like current cursor position is marked :)
value = value.replace("IntellijIdeaRulezzz", "");
value = value.replace("IntellijIdeaRulezzz ", "");