Searched refs:NullPolicy (Results 1 – 3 of 3) sorted by relevance
101 enum NullPolicy { enum in ComponentRequirement118 abstract Optional<NullPolicy> overrideNullPolicy(); in overrideNullPolicy()121 NullPolicy nullPolicy(DaggerElements elements, DaggerTypes types) { in nullPolicy()128 ? NullPolicy.NEW in nullPolicy()129 : requiresAPassedInstance(elements, types) ? NullPolicy.THROW : NullPolicy.ALLOW; in nullPolicy()132 return NullPolicy.THROW; in nullPolicy()206 .setNullable(overrideNullPolicy().equals(Optional.of(NullPolicy.ALLOW))) in toProto()235 nullable ? Optional.of(NullPolicy.ALLOW) : Optional.empty(), in forBoundInstance()
48 import dagger.internal.codegen.ComponentRequirement.NullPolicy;246 requirement.nullPolicy(elements, types).equals(NullPolicy.ALLOW) in normalSetterMethod()349 if (!requirement.nullPolicy(elements, types).equals(NullPolicy.ALLOW)) { in addNullHandlingForParameter()
44 import dagger.internal.codegen.ComponentRequirement.NullPolicy;317 input -> input.nullPolicy(elements, types).equals(NullPolicy.THROW)); in validateCreators()