Home
last modified time | relevance | path

Searched refs:NullPolicy (Results 1 – 3 of 3) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/binding/
DComponentRequirement.java104 public enum NullPolicy { enum in ComponentRequirement
121 abstract Optional<NullPolicy> overrideNullPolicy(); in overrideNullPolicy()
124 public NullPolicy nullPolicy( in nullPolicy()
132 ? NullPolicy.NEW in nullPolicy()
134 ? NullPolicy.THROW in nullPolicy()
135 : NullPolicy.ALLOW; in nullPolicy()
138 return NullPolicy.THROW; in nullPolicy()
231 nullable ? Optional.of(NullPolicy.ALLOW) : Optional.empty(), in forBoundInstance()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentCreatorImplementationFactory.java51 import dagger.internal.codegen.binding.ComponentRequirement.NullPolicy;
240 requirement.nullPolicy(elements, types, metadataUtil).equals(NullPolicy.ALLOW) in normalSetterMethod()
337 if (!requirement.nullPolicy(elements, types, metadataUtil).equals(NullPolicy.ALLOW)) { in addNullHandlingForParameter()
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentDescriptorValidator.java46 import dagger.internal.codegen.binding.ComponentRequirement.NullPolicy;
321 input -> input.nullPolicy(elements, types, metadataUtil).equals(NullPolicy.THROW)); in validateCreators()