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