MCPcopy Index your code
hub / github.com/google/dagger / isFutureType

Method isFutureType

java/dagger/internal/codegen/DaggerTypes.java:181–183  ·  view source on GitHub ↗
(TypeMirror type)

Source from the content-addressed store, hash-verified

179 ImmutableSet.of(ListenableFuture.class, FluentFuture.class);
180
181 static boolean isFutureType(TypeMirror type) {
182 return FUTURE_TYPES.stream().anyMatch(t -> MoreTypes.isTypeOf(t, type));
183 }
184
185 static boolean hasTypeVariable(TypeMirror type) {
186 return type.accept(

Callers 4

fromProducesMethodMethod · 0.80
forBindingMethodMethod · 0.80

Calls 1

streamMethod · 0.80

Tested by

no test coverage detected