// "Swap 'if' statements" "true-preview"
class A {

  void m() {

    if (otherCondition) {
      doAnotherAction();
    } else if (someCondition) {
      doSomeAction();
    } else {
      defaultAction();
    }

  }

}