@Override
  public void visit(final List<PsiReturnStatement> returnStatements) throws IncorrectOperationException {
    final PsiReturnStatement statement = myMethod.isPhysical()
                                         ? WriteAction.compute(() -> replaceReturnStatements(returnStatements))
                                         : replaceReturnStatements(returnStatements);
    if (statement != null) {
      myLatestReturn = statement;
    }
  }
@Override
  public void visit(final List<PsiReturnStatement> returnStatements)