void (final @NotNull PsiReturnStatement statement) { super.visitReturnStatement(statement); try { PsiStatement returnThisStatement = myElementFactory.createStatementFromText("return this;", statement); returnThisStatement.putCopyableUserData(GENERATED_RETURN, true); replacementMap.put(statement, returnThisStatement); } catch (IncorrectOperationException e) { LOG.error(e); } }