Searched refs:nullableType (Results 1 – 11 of 11) sorted by relevance
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ContributionBinding.java | 52 public abstract Optional<DeclaredType> nullableType(); in nullableType() method in ContributionBinding 75 return nullableType().isPresent(); in isNullable() 187 public abstract B nullableType(Optional<DeclaredType> nullableType); in nullableType() argument
|
D | BindingFactory.java | 227 .nullableType(getNullableType(providesMethod)) in providesMethodBinding() 369 .nullableType(getNullableType(dependencyMethod)) in componentDependencyMethodBinding() 393 .nullableType(getNullableType(parameterElement)) in boundInstanceBinding() 446 ProductionBinding.builder().nullableType(actualBinding.nullableType()), in delegateBinding() 454 .nullableType(actualBinding.nullableType()), in delegateBinding()
|
D | DependencyRequestFactory.java | 238 private boolean allowsNull(RequestKind kind, Optional<DeclaredType> nullableType) { in allowsNull() argument 239 return nullableType.isPresent() || !kind.equals(INSTANCE); in allowsNull()
|
D | ProvisionBinding.java | 96 && !nullableType().isPresent() in shouldCheckForNull()
|
D | ComponentRequirement.java | 240 binding.nullableType().isPresent(), in forBoundInstance()
|
/external/auto/factory/src/test/resources/expected/ |
D | CheckerFrameworkNullableFactory.java | 39 @NullableDecl String nullableDecl, @NullableType String nullableType) { in create() argument 43 nullableType, in create()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | DependencyMethodProviderCreationExpression.java | 92 if (binding.nullableType().isPresent()) { in creationExpression() 93 getMethod.addAnnotation(ClassName.get(MoreTypes.asTypeElement(binding.nullableType().get()))); in creationExpression()
|
D | FactoryGenerator.java | 258 .nullableType() in getMethod() 259 .ifPresent(nullableType -> CodeBlocks.addAnnotation(getMethod, nullableType)); in getMethod()
|
D | ComponentBindingExpressions.java | 391 binding.nullableType().isPresent(), in instanceFactoryCreationExpression()
|
/external/dagger2/java/dagger/internal/codegen/javapoet/ |
D | CodeBlocks.java | 80 public static void addAnnotation(MethodSpec.Builder method, DeclaredType nullableType) { in addAnnotation() argument 81 method.addAnnotation(ClassName.get(MoreTypes.asTypeElement(nullableType))); in addAnnotation()
|
/external/auto/factory/src/test/resources/good/ |
D | CheckerFrameworkNullable.java | 29 @NullableType String nullableType, in CheckerFrameworkNullable() argument
|