PsiElement (@NotNull PsiElement context, @NotNull String prefix, @NotNull String suffix) { PsiElementFactory factory = JavaPsiFacade.getElementFactory(context.getProject()); return factory.createExpressionFromText(prefix + context.getText() + suffix, context); }