Home
last modified time | relevance | path

Searched refs:allowsNull (Results 1 – 4 of 4) sorted by relevance

/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/
DBoundFieldModule.java225 boolean allowsNull() { in allowsNull() method in BoundFieldModule.BoundFieldInfo
227 && Nullability.allowsNull(field.getAnnotations()); in allowsNull()
360 if (fieldValue == null && !fieldInfo.allowsNull()) { in getFieldValue()
/external/guice/core/src/com/google/inject/internal/
DNullability.java38 public static boolean allowsNull(Annotation[] annotations) { in allowsNull() method in Nullability
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java244 allowsNull(getRequestKind(OptionalType.from(requestKey).valueType()), Optional.empty())) in forSyntheticPresentOptionalBinding()
261 .isNullable(allowsNull(requestKind, getNullableType(requestElement))) in newDependencyRequest()
271 private boolean allowsNull(RequestKind kind, Optional<DeclaredType> nullableType) { in allowsNull() method in DependencyRequestFactory
/external/guice/core/src/com/google/inject/spi/
DInjectionPoint.java105 newDependency(key, Nullability.allowsNull(annotations), -1)); in InjectionPoint()
119 dependencies.add(newDependency(key, Nullability.allowsNull(parameterAnnotations), index)); in forMember()
133 private <T> Dependency<T> newDependency(Key<T> key, boolean allowsNull, int parameterIndex) { in newDependency() argument
134 return new Dependency<T>(this, key, allowsNull, parameterIndex); in newDependency()