Home
last modified time | relevance | path

Searched refs:OptionalType (Results 1 – 7 of 7) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/writing/
DOptionalBindingExpression.java25 import dagger.internal.codegen.base.OptionalType;
26 import dagger.internal.codegen.base.OptionalType.OptionalKind;
56 OptionalType optionalType = OptionalType.from(binding.key()); in getDependencyExpression()
DOptionalFactories.java58 import dagger.internal.codegen.base.OptionalType;
59 import dagger.internal.codegen.base.OptionalType.OptionalKind;
118 OptionalKind optionalKind = OptionalType.from(binding.key()).kind(); in absentOptionalProvider()
268 OptionalType.from(binding.key()).kind(),
/external/dagger2/java/dagger/internal/codegen/base/
DOptionalType.java43 public abstract class OptionalType { class
75 public CodeBlock parameterizedAbsentValueExpression(OptionalType optionalType) { in parameterizedAbsentValueExpression()
146 public static OptionalType from(TypeMirror type) { in from()
156 public static OptionalType from(Key key) { in from()
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java39 import dagger.internal.codegen.base.OptionalType;
217 allowsNull(getRequestKind(OptionalType.from(requestKey).valueType()), Optional.empty())) in forSyntheticPresentOptionalBinding()
DKeyFactory.java42 import dagger.internal.codegen.base.OptionalType;
427 if (!OptionalType.isOptional(key)) { in unwrapOptional()
431 TypeMirror optionalValueType = OptionalType.from(key).valueType(); in unwrapOptional()
DBindingGraphFactory.java51 import dagger.internal.codegen.base.OptionalType;
399 getRequestKind(OptionalType.from(requestKey).valueType()), in lookUpBindings()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDependencyCycleValidator.java42 import dagger.internal.codegen.base.OptionalType;
214 TypeMirror optionalValueType = OptionalType.from(edge.dependencyRequest().key()).valueType(); in breaksCycle()