void (@NotNull Project project, @NotNull ProblemDescriptor descriptor) { PsiElement expression = descriptor.getPsiElement(); PyElementGenerator elementGenerator = PyElementGenerator.getInstance(project); replacePrint(expression, elementGenerator); }