Home
last modified time | relevance | path

Searched refs:isNullable (Results 1 – 25 of 28) sorted by relevance

12

/external/dagger2/java/dagger/model/
DDependencyRequest.java55 public abstract boolean isNullable(); in isNullable() method in DependencyRequest
59 return new AutoValue_DependencyRequest.Builder().isNullable(false); in builder()
72 public abstract Builder isNullable(boolean isNullable); in isNullable() method in DependencyRequest.Builder
DBinding.java81 boolean isNullable(); in isNullable() method
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java383 args[i] != null || isNullable(param)); in buildParamList()
472 return param.getType().getRawType().isPrimitive() || isNullable(param);
478 static boolean isNullable(Invokable<?, ?> invokable) {
479 return isNullable(invokable.getAnnotatedReturnType().getAnnotations())
480 || isNullable(invokable.getAnnotations());
483 static boolean isNullable(Parameter param) {
484 return isNullable(param.getAnnotatedType().getAnnotations())
485 || isNullable(param.getAnnotations());
488 private static boolean isNullable(Annotation[] annotations) {
DDummyProxy.java20 import static com.google.common.testing.NullPointerTester.isNullable;
77 if (!isNullable(param)) { in handleInvocation()
DClassSanityTester.java22 import static com.google.common.testing.NullPointerTester.isNullable;
667 if (isNullable(param)) { in generateDummyArg()
721 if (isNullable(param)) { in getDummyArguments()
766 factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); in invoke()
/external/dagger2/java/dagger/internal/codegen/writing/
DMethodBindingExpression.java212 if (isNullable()) { in implementation()
234 if (isNullable()) { in createField()
244 if (isNullable()) { in fieldType()
253 private boolean isNullable() { in isNullable() method in MethodBindingExpression.SingleCheckedMethodImplementation
254 return request.isRequestKind(RequestKind.INSTANCE) && binding.isNullable(); in isNullable()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DNullableBindingValidator.java67 .filter(binding -> binding.isNullable()) in nullableBindings()
75 .filter(edge -> !edge.dependencyRequest().isNullable()) in nonNullableDependencies()
/external/dagger2/java/dagger/internal/codegen/binding/
DBindingNode.java120 public boolean isNullable() { in isNullable() method in BindingNode
121 return delegate().isNullable(); in isNullable()
DDependencyRequestFactory.java216 .isNullable( in forSyntheticPresentOptionalBinding()
228 .isNullable(allowsNull(requestKind, getNullableType(requestElement))) in newDependencyRequest()
DMembersInjectionBinding.java68 public boolean isNullable() { in isNullable() method in MembersInjectionBinding
DBinding.java68 public abstract boolean isNullable(); in isNullable() method in Binding
DContributionBinding.java74 public final boolean isNullable() { in isNullable() method in ContributionBinding
DComponentCreatorDescriptor.java216 request.key(), request.isNullable(), variableName); in requirement()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DDummyProxy.java20 import static com.google.common.testing.NullPointerTester.isNullable;
77 if (!isNullable(param)) { in handleInvocation()
DNullPointerTester.java384 args[i] != null || isNullable(param)); in buildParamList()
473 return param.getType().getRawType().isPrimitive() || isNullable(param);
479 static boolean isNullable(AnnotatedElement e) {
DClassSanityTester.java22 import static com.google.common.testing.NullPointerTester.isNullable;
670 if (isNullable(param)) { in generateDummyArg()
724 if (isNullable(param)) { in getDummyArguments()
770 factory + " returns null but it's not annotated with @Nullable", isNullable(factory)); in invoke()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DParameter.java78 if (isNullable(annotation)) { in forVariableElement()
92 private static boolean isNullable(AnnotationMirror annotation) { in isNullable() method in Parameter
/external/guice/core/test/com/google/inject/spi/
DInjectionPointTest.java81 assertFalse(dependency.isNullable()); in testFieldInjectionPoint()
110 assertFalse(dependency.isNullable()); in testMethodInjectionPoint()
140 assertFalse(dependency.isNullable()); in testConstructorInjectionPoint()
156 assertTrue(dependency.isNullable()); in testUnattachedDependency()
/external/guice/core/src/com/google/inject/internal/
DInternalFactoryToProviderAdapter.java40 if (t == null && !dependency.isNullable()) { in get()
DProviderInternalFactory.java86 if (t == null && !dependency.isNullable()) {
/external/guice/core/src/com/google/inject/spi/
DDependency.java75 public boolean isNullable() { in isNullable() method in Dependency
/external/auto/value/src/main/java/com/google/auto/value/processor/
DPropertyBuilderClassifier.java219 if (isNullable(barGetter)) { in makePropertyBuilder()
403 private static boolean isNullable(ExecutableElement getter) { in isNullable() method
DAutoValueOrOneOfProcessor.java256 public boolean isNullable() { in isNullable() method in AutoValueOrOneOfProcessor.Property
405 if (p.isNullable() && returnType.getKind().isPrimitive()) { in propertySet()
570 if (isNullable(annotations.get(i))) { in nullableAnnotationIndex()
577 private static boolean isNullable(AnnotationMirror annotation) { in isNullable() method in AutoValueOrOneOfProcessor
DBuilderSpec.java306 if (property.isNullable() in defineVars()
457 if (property.isNullable() && !copier.acceptsNull) { in copy()
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCResultSetMetaData.java172 public int isNullable(int column) throws java.sql.SQLException { in isNullable() method in JDBCResultSetMetaData

12