PsiExpression (@NotNull PsiExpression expression, @NotNull GuavaLambda lambda) { final PsiExpression methodReference = JavaPsiFacade.getElementFactory(expression.getProject()) .createExpressionFromText(expression.getText() + "::" + lambda.getSamName(), expression); return (PsiExpression)expression.replace(methodReference); }