test_class.file: rxjava/src/test/java/io/reactivex/internal/subscribers/BlockingSubscriberTest.java
test_class.identifier: BlockingSubscriberTest
test_case.body: @Test
      public void cancelUpfront() {
  
          final BlockingFirstSubscriber<Integer> bf = new BlockingFirstSubscriber<Integer>();
  
          final AtomicBoolean b = new AtomicBoolean();
  
          bf.cancelled = true;
  
          Subscription s = new Subscription() {
              @Override
              public void request(long n) {
                  b.set(true);
              }
              @Override
              public void cancel() {
              }
          };
  
          bf.onSubscribe(s);
  
          assertFalse(b.get());
      }
test_case.class_method_signature: BlockingSubscriberTest.cancelUpfront()
test_case.full_signature: @Test public void cancelUpfront()
test_case.identifier: cancelUpfront
test_case.invocations: set onSubscribe assertFalse get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void cancelUpfront()
focal_class.declarator: serialVersionUID = -4875965440900746268L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -4875965440900746268L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: TERMINATED = new Object()
focal_class.modifier: public static final
focal_class.original_string: public static final Object TERMINATED = new Object();
focal_class.type: Object
focal_class.var_name: TERMINATED
focal_class.declarator: queue
focal_class.modifier: final
focal_class.original_string: final Queue<Object> queue;
focal_class.type: Queue<Object>
focal_class.var_name: queue
focal_class.file: rxjava/src/main/java/io/reactivex/internal/subscribers/BlockingSubscriber.java
focal_class.identifier: BlockingSubscriber
focal_class.interfaces: implements FlowableSubscriber<T>, Subscription
focal_class.class_method_signature: BlockingSubscriber.BlockingSubscriber(Queue<Object> queue)
focal_class.full_signature: public  BlockingSubscriber(Queue<Object> queue)
focal_class.identifier: BlockingSubscriber
focal_class.modifiers: public
focal_class.parameters: (Queue<Object> queue)
focal_class.signature:  BlockingSubscriber(Queue<Object> queue)
focal_class.class_method_signature: BlockingSubscriber.onSubscribe(Subscription s)
focal_class.full_signature: @Override public void onSubscribe(Subscription s)
focal_class.identifier: onSubscribe
focal_class.modifiers: @Override public
focal_class.parameters: (Subscription s)
focal_class.return: void
focal_class.signature: void onSubscribe(Subscription s)
focal_class.class_method_signature: BlockingSubscriber.onNext(T t)
focal_class.full_signature: @Override public void onNext(T t)
focal_class.identifier: onNext
focal_class.modifiers: @Override public
focal_class.parameters: (T t)
focal_class.return: void
focal_class.signature: void onNext(T t)
focal_class.class_method_signature: BlockingSubscriber.onError(Throwable t)
focal_class.full_signature: @Override public void onError(Throwable t)
focal_class.identifier: onError
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable t)
focal_class.return: void
focal_class.signature: void onError(Throwable t)
focal_class.class_method_signature: BlockingSubscriber.onComplete()
focal_class.full_signature: @Override public void onComplete()
focal_class.identifier: onComplete
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onComplete()
focal_class.class_method_signature: BlockingSubscriber.request(long n)
focal_class.full_signature: @Override public void request(long n)
focal_class.identifier: request
focal_class.modifiers: @Override public
focal_class.parameters: (long n)
focal_class.return: void
focal_class.signature: void request(long n)
focal_class.class_method_signature: BlockingSubscriber.cancel()
focal_class.full_signature: @Override public void cancel()
focal_class.identifier: cancel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void cancel()
focal_class.class_method_signature: BlockingSubscriber.isCancelled()
focal_class.full_signature: public boolean isCancelled()
focal_class.identifier: isCancelled
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCancelled()
focal_class.superclass: extends AtomicReference<Subscription>
focal_method.body: @Override
      public void onSubscribe(Subscription s) {
          if (SubscriptionHelper.setOnce(this, s)) {
              queue.offer(NotificationLite.subscription(this));
          }
      }
focal_method.class_method_signature: BlockingSubscriber.onSubscribe(Subscription s)
focal_method.full_signature: @Override public void onSubscribe(Subscription s)
focal_method.identifier: onSubscribe
focal_method.invocations: setOnce offer subscription
focal_method.modifiers: @Override public
focal_method.parameters: (Subscription s)
focal_method.return: void
focal_method.signature: void onSubscribe(Subscription s)