Home
last modified time | relevance | path

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

/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/
DMethodBindingExpression.java238 if (isNullable()) { in implementation()
263 if (isNullable()) { in createField()
273 if (isNullable()) { in fieldType()
282 private boolean isNullable() { in isNullable() method in MethodBindingExpression.SingleCheckedMethodImplementation
283 return request.isRequestKind(RequestKind.INSTANCE) && binding.isNullable(); in isNullable()
DNullableBindingValidator.java66 .filter(binding -> binding.isNullable()) in nullableBindings()
74 .filter(edge -> !edge.dependencyRequest().isNullable()) in nonNullableDependencies()
DBindingNode.java119 public boolean isNullable() { in isNullable() method in BindingNode
120 return delegate().isNullable(); in isNullable()
DDependencyRequestFactory.java212 .isNullable( in forSyntheticPresentOptionalBinding()
224 .isNullable(allowsNull(requestKind, getNullableType(requestElement))) in newDependencyRequest()
DMembersInjectionBinding.java70 public boolean isNullable() { in isNullable() method in MembersInjectionBinding
DContributionBinding.java79 public final boolean isNullable() { in isNullable() method in ContributionBinding
DComponentCreatorDescriptor.java215 request.key(), request.isNullable(), variableName); in requirement()
DBinding.java78 abstract boolean isNullable(); in isNullable() method in Binding
/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/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()) {
DProviderMethod.java174 if (t == null && !dependency.isNullable()) { in doProvision()
/external/guice/core/src/com/google/inject/spi/
DDependency.java75 public boolean isNullable() { in isNullable() method in Dependency
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCResultSetMetaData.java172 public int isNullable(int column) throws java.sql.SQLException { in isNullable() method in JDBCResultSetMetaData
/external/skia/src/sksl/
DSkSLASTNode.h189 TypeData(StringFragment name, bool isStructDeclaration, bool isNullable) in TypeData()
192 , fIsNullable(isNullable) {} in TypeData()
/external/libchrome/mojo/public/js/lib/
Dvalidator.js101 function isNullable(type) { function
530 var nullable = isNullable(elementType);