Searched refs:checkNotNull (Results 1 - 25 of 475) sorted by relevance

1234567891011>>

/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
H A DPlatform.java19 import static com.google.common.base.Preconditions.checkNotNull;
32 return checkNotNull(object);
/external/guava/guava/src/com/google/common/eventbus/
H A DSubscriberExceptionContext.java18 import static com.google.common.base.Preconditions.checkNotNull;
42 this.eventBus = checkNotNull(eventBus);
43 this.event = checkNotNull(event);
44 this.subscriber = checkNotNull(subscriber);
45 this.subscriberMethod = checkNotNull(subscriberMethod);
H A DDeadEvent.java19 import static com.google.common.base.Preconditions.checkNotNull;
47 this.source = checkNotNull(source);
48 this.event = checkNotNull(event);
H A DAsyncEventBus.java19 import static com.google.common.base.Preconditions.checkNotNull;
52 this.executor = checkNotNull(executor);
68 this.executor = checkNotNull(executor);
81 this.executor = checkNotNull(executor);
111 checkNotNull(event);
112 checkNotNull(subscriber);
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/
H A DVmOptionLogMessage.java19 import static com.google.common.base.Preconditions.checkNotNull;
30 this.name = checkNotNull(name);
31 this.value = checkNotNull(value);
/external/mockito/src/main/java/org/mockito/internal/util/
H A DChecks.java13 public static <T> T checkNotNull(T value, String checkedValue) { method in class:Checks
21 checkNotNull(iterable, checkedIterable);
23 checkNotNull(item, "item in " + checkedIterable);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableEnumMap.java19 import static com.google.common.base.Preconditions.checkNotNull;
31 for (Map.Entry<K, V> entry : checkNotNull(map).entrySet()) {
32 checkNotNull(entry.getKey());
33 checkNotNull(entry.getValue());
H A DSingletonImmutableList.java19 import static com.google.common.base.Preconditions.checkNotNull;
38 this.delegate = singletonList(checkNotNull(element));
H A DImmutableCollection.java19 import static com.google.common.base.Preconditions.checkNotNull;
108 checkNotNull(elements); // for GWT
110 add(checkNotNull(element));
116 checkNotNull(elements); // for GWT
118 add(checkNotNull(element));
124 checkNotNull(elements); // for GWT
126 add(checkNotNull(elements.next()));
H A DSingletonImmutableBiMap.java19 import static com.google.common.base.Preconditions.checkNotNull;
42 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
49 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
/external/guava/guava/src/com/google/common/util/concurrent/
H A DFakeTimeLimiter.java19 import static com.google.common.base.Preconditions.checkNotNull;
41 checkNotNull(target);
42 checkNotNull(interfaceType);
43 checkNotNull(timeoutUnit);
50 checkNotNull(timeoutUnit);
H A DCallables.java19 import static com.google.common.base.Preconditions.checkNotNull;
59 checkNotNull(nameSupplier);
60 checkNotNull(callable);
87 checkNotNull(nameSupplier);
88 checkNotNull(task);
/external/caliper/caliper/src/main/java/com/google/caliper/util/
H A DOutputModule.java17 import static com.google.common.base.Preconditions.checkNotNull;
37 this.stdout = checkNotNull(stdout);
38 this.stderr = checkNotNull(stderr);
/external/guava/guava/src/com/google/common/cache/
H A DRemovalListeners.java19 import static com.google.common.base.Preconditions.checkNotNull;
46 checkNotNull(listener);
47 checkNotNull(executor);
/external/guava/guava-tests/test/com/google/common/io/
H A DRandomAmountInputStream.java19 import static com.google.common.base.Preconditions.checkNotNull;
31 super(checkNotNull(in));
32 this.random = checkNotNull(random);
/external/jsilver/src/com/google/streamhtmlparser/impl/
H A DStateTableTransition.java57 Preconditions.checkNotNull(expression);
58 Preconditions.checkNotNull(from);
59 Preconditions.checkNotNull(to);
/external/droiddriver/src/io/appium/droiddriver/util/
H A DPreconditions.java34 public static <T> T checkNotNull(T reference) { method in class:Preconditions
/external/guice/core/src/com/google/inject/spi/
H A DScopeBinding.java19 import static com.google.common.base.Preconditions.checkNotNull;
43 this.source = checkNotNull(source, "source");
44 this.annotationType = checkNotNull(annotationType, "annotationType");
45 this.scope = checkNotNull(scope, "scope");
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DAllocatedBuffer.java34 import static org.conscrypt.Preconditions.checkNotNull;
66 checkNotNull(buffer, "buffer");
/external/guava/guava/src/com/google/common/base/
H A DAbsent.java19 import static com.google.common.base.Preconditions.checkNotNull;
51 return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
56 return (Optional<T>) checkNotNull(secondChoice);
60 return checkNotNull(supplier.get(),
73 checkNotNull(function);
H A DPresent.java19 import static com.google.common.base.Preconditions.checkNotNull;
48 checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
53 checkNotNull(secondChoice);
58 checkNotNull(supplier);
71 return new Present<V>(checkNotNull(function.apply(reference),
/external/guava/guava/src/com/google/common/collect/
H A DEmptyImmutableSortedMultiset.java17 import static com.google.common.base.Preconditions.checkNotNull;
74 checkNotNull(upperBound);
75 checkNotNull(boundType);
81 checkNotNull(lowerBound);
82 checkNotNull(boundType);
H A DNaturalOrdering.java19 import static com.google.common.base.Preconditions.checkNotNull;
33 checkNotNull(left); // for GWT
34 checkNotNull(right);
H A DSortedIterables.java17 import static com.google.common.base.Preconditions.checkNotNull;
38 checkNotNull(comparator);
39 checkNotNull(elements);
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DSameThreadScheduledExecutorService.java76 Preconditions.checkNotNull(unit, "unit must not be null!");
82 Preconditions.checkNotNull(task, "task must not be null!");
88 Preconditions.checkNotNull(task, "task must not be null!");
89 Preconditions.checkNotNull(result, "result must not be null!");
95 Preconditions.checkNotNull(task, "task must not be null!");
102 Preconditions.checkNotNull(tasks, "tasks must not be null!");
110 Preconditions.checkNotNull(tasks, "tasks must not be null!");
111 Preconditions.checkNotNull(unit, "unit must not be null!");
118 Preconditions.checkNotNull(tasks, "tasks must not be null!");
126 Preconditions.checkNotNull(task
[all...]

Completed in 523 milliseconds

1234567891011>>