@Test(expected = NullPointerException.class) public void testAddNullPromise() { combiner.add(null); }
@SuppressWarnings({ "unchecked", "rawtypes" }) public void add(Promise promise) { checkAddAllowed(); ++expectedCount; promise.addListener(listener); }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void add(Promise promise) { checkAddAllowed(); ++expectedCount; promise.addListener(listener); } }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void add(Promise promise) { checkAddAllowed(); ++expectedCount; promise.addListener(listener); }  }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void add(Promise promise) { checkAddAllowed(); ++expectedCount; promise.addListener(listener); }  @SuppressWarnings({ "unchecked", "rawtypes" }) void add(Promise promise); @SuppressWarnings({ "unchecked", "rawtypes" }) void addAll(Promise... promises); void finish(Promise<Void> aggregatePromise); }
PromiseCombiner { @SuppressWarnings({ "unchecked", "rawtypes" }) public void add(Promise promise) { checkAddAllowed(); ++expectedCount; promise.addListener(listener); }  @SuppressWarnings({ "unchecked", "rawtypes" }) void add(Promise promise); @SuppressWarnings({ "unchecked", "rawtypes" }) void addAll(Promise... promises); void finish(Promise<Void> aggregatePromise);  }