Esempio n. 1
0
      private boolean getNext() {
        java.lang.Throwable $yieldException;
        while (true) {
          try {
            switch ($state) {
              case 0:
                $state = 1;
              case 1:
                b = true;
              case 2:
                $yieldException1 = null;
                $state1 = 2;
                $state = 3;
              case 3:
                if (b) {
                  throw new RuntimeException();
                }
                $next = "bar";
                $state = 5;
                return true;
              case 4:
                $next = "foo";
                $state = 5;
                return true;
              case 5:
                {
                  b = !b;
                }
                if ($yieldException1 != null) {
                  $yieldException = $yieldException1;
                  break;
                }
                $state = $state1;
                continue;

              case 6:

              default:
                return false;
            }
          } catch (final java.lang.Throwable $yieldExceptionCaught) {
            $yieldException = $yieldExceptionCaught;
          }
          switch ($state) {
            case 3:
              if ($yieldException instanceof RuntimeException) {
                e = (RuntimeException) $yieldException;
                $state = 4;
                continue;
              }
            case 4:
              $yieldException1 = $yieldException;
              $state = 5;
              continue;
            default:
              $state = 6;
              java.util.ConcurrentModificationException $yieldExceptionUnhandled =
                  new java.util.ConcurrentModificationException();
              $yieldExceptionUnhandled.initCause($yieldException);
              throw $yieldExceptionUnhandled;
          }
        }
      }