@NotNull
    private SwitchPatternHelper.JavacReferenceFinder.Initializer findInitializer(@NotNull Root root, Exprent typeVar) {
      Exprent instance = Objects.requireNonNull(mySwitchSelector.getInstance());

      Exprent nonNullCheck = null;
      AssignmentExprent initVar2 = null;

      for (Exprent exprent : root.firstExprents()) {
        if (exprent instanceof AssignmentExprent firstAssignment && instance.equals(firstAssignment.getLeft())) {
          instance = firstAssignment.getRight();
          if (firstAssignment.getLeft() instanceof VarExprent varExprent) {
            myTempVarAssignments.add(new TempVarAssignmentItem(varExprent, root.firstStatement()));
          }
        }
      }
      for (Exprent exprent : root.firstExprents()) {
        if (isNonNullCheck(exprent, instance)) {
          nonNullCheck = exprent;
        }
        if (exprent instanceof AssignmentExprent firstAssignment && typeVar.equals(firstAssignment.getLeft()) &&
            firstAssignment.getRight() instanceof ConstExprent constExprent &&
            constExprent.getValue() instanceof Integer value &&
            value == 0) {
          initVar2 = firstAssignment;

          if (firstAssignment.getLeft() instanceof VarExprent varExprent) {
            myTempVarAssignments.add(new TempVarAssignmentItem(varExprent, root.firstStatement()));
          }
        }
      }
      return new Initializer(instance, nonNullCheck, initVar2);
    }
@NotNull
    private SwitchPatternHelper.JavacReferenceFinder.Initializer findInitializer(@NotNull Root root, Exprent typeVar)