private static void replaceSimplifiableImplicitReturnNegated(GrIfStatement statement)
        throws IncorrectOperationException {
      final GrExpression condition = statement.getCondition();
      if (condition == null) {
        return;
      }
      final String conditionText =
          BoolUtils.getNegatedExpressionText(condition);
      final PsiElement nextStatement =
        PsiTreeUtil.skipWhitespacesForward(statement);
      if (nextStatement == null) {
        return;
      }
      @NonNls final String newStatement = "return " + conditionText + ';';
      replaceStatement(statement, newStatement);
      nextStatement.delete();
    }
private static void replaceSimplifiableImplicitReturnNegated(GrIfStatement statement)