test_class.declarator: ts = new TestSubscriber<Integer>()
test_class.original_string: TestSubscriber<Integer> ts = new TestSubscriber<Integer>();
test_class.type: TestSubscriber<Integer>
test_class.var_name: ts
test_class.declarator: s = new SubscriberResourceWrapper<Integer>(ts)
test_class.original_string: SubscriberResourceWrapper<Integer> s = new SubscriberResourceWrapper<Integer>(ts);
test_class.type: SubscriberResourceWrapper<Integer>
test_class.var_name: s
test_class.file: rxjava/src/test/java/io/reactivex/internal/subscribers/SubscriberResourceWrapperTest.java
test_class.identifier: SubscriberResourceWrapperTest
test_case.body: @Test
      public void cancel() {
          BooleanSubscription bs = new BooleanSubscription();
          Disposable d = Disposables.empty();
  
          s.setResource(d);
  
          s.onSubscribe(bs);
  
          assertFalse(d.isDisposed());
          assertFalse(s.isDisposed());
  
          ts.cancel();
  
          assertTrue(bs.isCancelled());
          assertTrue(d.isDisposed());
          assertTrue(s.isDisposed());
      }
test_case.class_method_signature: SubscriberResourceWrapperTest.cancel()
test_case.full_signature: @Test public void cancel()
test_case.identifier: cancel
test_case.invocations: empty setResource onSubscribe assertFalse isDisposed assertFalse isDisposed cancel assertTrue isCancelled assertTrue isDisposed assertTrue isDisposed
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void cancel()
focal_class.declarator: serialVersionUID = -8612022020200669122L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = -8612022020200669122L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: actual
focal_class.modifier: final
focal_class.original_string: final Subscriber<? super T> actual;
focal_class.type: Subscriber<? super T>
focal_class.var_name: actual
focal_class.declarator: subscription = new AtomicReference<Subscription>()
focal_class.modifier: final
focal_class.original_string: final AtomicReference<Subscription> subscription = new AtomicReference<Subscription>();
focal_class.type: AtomicReference<Subscription>
focal_class.var_name: subscription
focal_class.file: rxjava/src/main/java/io/reactivex/internal/subscribers/SubscriberResourceWrapper.java
focal_class.identifier: SubscriberResourceWrapper
focal_class.interfaces: implements FlowableSubscriber<T>, Disposable, Subscription
focal_class.class_method_signature: SubscriberResourceWrapper.SubscriberResourceWrapper(Subscriber<? super T> actual)
focal_class.full_signature: public  SubscriberResourceWrapper(Subscriber<? super T> actual)
focal_class.identifier: SubscriberResourceWrapper
focal_class.modifiers: public
focal_class.parameters: (Subscriber<? super T> actual)
focal_class.signature:  SubscriberResourceWrapper(Subscriber<? super T> actual)
focal_class.class_method_signature: SubscriberResourceWrapper.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: SubscriberResourceWrapper.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: SubscriberResourceWrapper.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: SubscriberResourceWrapper.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: SubscriberResourceWrapper.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: SubscriberResourceWrapper.dispose()
focal_class.full_signature: @Override public void dispose()
focal_class.identifier: dispose
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dispose()
focal_class.class_method_signature: SubscriberResourceWrapper.isDisposed()
focal_class.full_signature: @Override public boolean isDisposed()
focal_class.identifier: isDisposed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDisposed()
focal_class.class_method_signature: SubscriberResourceWrapper.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: SubscriberResourceWrapper.setResource(Disposable resource)
focal_class.full_signature: public void setResource(Disposable resource)
focal_class.identifier: setResource
focal_class.modifiers: public
focal_class.parameters: (Disposable resource)
focal_class.return: void
focal_class.signature: void setResource(Disposable resource)
focal_class.superclass: extends AtomicReference<Disposable>
focal_method.body: @Override
      public void cancel() {
          dispose();
      }
focal_method.class_method_signature: SubscriberResourceWrapper.cancel()
focal_method.full_signature: @Override public void cancel()
focal_method.identifier: cancel
focal_method.invocations: dispose
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void cancel()