Home
last modified time | relevance | path

Searched refs:nullableType (Results 1 – 14 of 14) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/binding/
DContributionBinding.java48 public abstract Optional<XType> nullableType(); in nullableType() method in ContributionBinding
71 return nullableType().isPresent(); in isNullable()
132 public abstract B nullableType(Optional<XType> nullableType); in nullableType() method in ContributionBinding.Builder
DBindingFactory.java198 .nullableType(getNullableType(providesMethod)) in providesMethodBinding()
343 .nullableType(getNullableType(dependencyMethod)) in componentDependencyMethodBinding()
367 .nullableType(getNullableType(parameterElement)) in boundInstanceBinding()
418 ProductionBinding.builder().nullableType(actualBinding.nullableType()), in delegateBinding()
426 .nullableType(actualBinding.nullableType()), in delegateBinding()
DDependencyRequestFactory.java271 private boolean allowsNull(RequestKind kind, Optional<DeclaredType> nullableType) { in allowsNull() argument
272 return nullableType.isPresent() || !kind.equals(INSTANCE); in allowsNull()
DProvisionBinding.java96 && !nullableType().isPresent() in shouldCheckForNull()
DComponentRequirement.java228 binding.nullableType().isPresent(), in forBoundInstance()
/external/auto/factory/src/test/resources/expected/
DCheckerFrameworkNullableFactory.java45 @NullableType String nullableType, in create() argument
50 nullableType, in create()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DCodeBlocks.java80 public static void addAnnotation(MethodSpec.Builder method, DeclaredType nullableType) { in addAnnotation() argument
81 method.addAnnotation(ClassName.get(MoreTypes.asTypeElement(nullableType))); in addAnnotation()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DNullablesTest.java157 DeclaredType nullableType = MoreTypes.asDeclared(nullableElement.asType()); in process() local
172 .hasValue(nullableType); in process()
/external/dagger2/java/dagger/internal/codegen/writing/
DDependencyMethodProviderCreationExpression.java103 if (binding.nullableType().isPresent()) { in creationExpression()
104 getMethod.addAnnotation(binding.nullableType().get().getTypeElement().getClassName()); in creationExpression()
DUnscopedFrameworkInstanceCreationExpressionFactory.java159 binding.nullableType().isPresent(), in instanceFactoryCreationExpression()
DFactoryGenerator.java284 .nullableType() in getMethod()
/external/auto/factory/src/test/resources/good/
DCheckerFrameworkNullable.java30 @NullableType String nullableType, in CheckerFrameworkNullable() argument
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/format/
DKotlinInputAstVisitor.kt206 override fun visitNullableType(nullableType: KtNullableType) { in <lambda>()
207 builder.sync(nullableType) in <lambda>()
208 val innerType = nullableType.innerType in <lambda>()
213 visit(nullableType.modifierList) in <lambda>()
/external/kotlinpoet/kotlinpoet/src/test/java/com/squareup/kotlinpoet/
DCodeBlockTest.kt228 @Test fun nullableType() { in nullableType() method in com.squareup.kotlinpoet.CodeBlockTest