Searched refs:OptionalKind (Results 1 – 3 of 3) sorted by relevance
46 public enum OptionalKind { enum in OptionalType57 OptionalKind(Class<?> clazz, String absentFactoryMethodName) { in OptionalKind() method in OptionalType.OptionalKind93 private static final TypeVisitor<Optional<OptionalKind>, Void> OPTIONAL_KIND =94 new SimpleTypeVisitor8<Optional<OptionalKind>, Void>(Optional.empty()) {96 public Optional<OptionalKind> visitDeclared(DeclaredType t, Void p) {97 for (OptionalKind optionalKind : OptionalKind.values()) {122 public OptionalKind kind() { in kind()
59 import dagger.internal.codegen.base.OptionalType.OptionalKind;102 private final Map<OptionalKind, MethodSpec> absentOptionalProviderMethods = new TreeMap<>();107 private final Map<OptionalKind, FieldSpec> absentOptionalProviderFields = new TreeMap<>();118 OptionalKind optionalKind = OptionalType.from(binding.key()).kind(); in absentOptionalProvider()134 private MethodSpec absentOptionalProviderMethod(OptionalKind optionalKind) { in absentOptionalProviderMethod()165 private FieldSpec absentOptionalProviderField(OptionalKind optionalKind) {188 abstract OptionalKind optionalKind();423 OptionalKind optionalKind, TypeName inputType, CodeBlock inputFuture) {
26 import dagger.internal.codegen.base.OptionalType.OptionalKind;57 OptionalKind optionalKind = optionalType.kind(); in getDependencyExpression()