Home
last modified time | relevance | path

Searched refs:NULLABLE (Results 1 – 22 of 22) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/bindinggraphvalidation/
DNullableBindingValidationTest.java33 private static final JavaFileObject NULLABLE = field in NullableBindingValidationTest
68 Compilation compilation = daggerCompiler().compile(NULLABLE, a, module, component); in nullCheckForConstructorParameters()
79 .compile(NULLABLE, a, module, component); in nullCheckForConstructorParameters()
112 Compilation compilation = daggerCompiler().compile(NULLABLE, a, module, component); in nullCheckForMembersInjectParam()
123 .compile(NULLABLE, a, module, component); in nullCheckForMembersInjectParam()
156 Compilation compilation = daggerCompiler().compile(NULLABLE, a, module, component); in nullCheckForVariable()
167 .compile(NULLABLE, a, module, component); in nullCheckForVariable()
191 Compilation compilation = daggerCompiler().compile(NULLABLE, module, component); in nullCheckForComponentReturn()
202 .compile(NULLABLE, module, component); in nullCheckForComponentReturn()
244 Compilation compilation = daggerCompiler().compile(NULLABLE, a, module, component); in nullCheckForOptionalInstance()
[all …]
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
DNullness.java44 NULLABLE("Nullable"), enumConstant
72 return NULLABLE; in leastUpperBound()
80 if (this == NULLABLE) { in greatestLowerBound()
83 if (other == NULLABLE) { in greatestLowerBound()
113 case NULLABLE: in deducedValueWhenNotEqual()
114 return NULLABLE; in deducedValueWhenNotEqual()
116 return NULLABLE; in deducedValueWhenNotEqual()
DNullabilityUtil.java337 case NULLABLE: in nullnessToBool()
DNullAway.java757 && getComputedNullness(memberReferenceTree).equals(Nullness.NULLABLE)) { in checkOverriding()
2178 return Nullness.NULLABLE; in getComputedNullness()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/dataflow/
DCoreNullnessStoreInitializer.java4 import static com.uber.nullaway.Nullness.NULLABLE;
60 Nullness.hasNullableAnnotation((Symbol) element, config) ? NULLABLE : NONNULL; in methodInitialStore()
99 assumed = NULLABLE; in lambdaInitialStore()
107 assumed = nullableParamsFromHandler.contains(i) ? NULLABLE : NONNULL; in lambdaInitialStore()
111 ? NULLABLE in lambdaInitialStore()
DAccessPathNullnessAnalysis.java257 return Nullness.NULLABLE;
263 return Nullness.NULLABLE;
278 if (!nullness.equals(Nullness.NULLABLE)) {
282 return Nullness.NULLABLE;
353 return Nullness.NULLABLE;
367 return Nullness.NULLABLE;
DAccessPathNullnessPropagation.java21 import static com.uber.nullaway.Nullness.NULLABLE;
372 return noStoreChanges(NULLABLE, input); in visitStringConcatenateAssignment()
712 Nullness nullness = NULLABLE; in visitFieldAccess()
731 return noStoreChanges(NULLABLE, input); in visitMethodAccess()
770 return noStoreChanges(NULLABLE, input); in visitReturn()
828 return noStoreChanges(NULLABLE, input); in visitSynchronized()
840 return noStoreChanges(NULLABLE, input); in visitAssertionError()
848 return noStoreChanges(NULLABLE, input); in visitAssertionError()
854 return updateRegularStore(NULLABLE, input, updates); in visitAssertionError()
860 return noStoreChanges(NULLABLE, input); in visitThrow()
[all …]
DNullnessStore.java153 return Nullness.NULLABLE; in getNullnessOfAccessPath()
156 return (nullness == null) ? Nullness.NULLABLE : nullness; in getNullnessOfAccessPath()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/contract/
DContractHandler.java147 valueConstraint.equals("null") ? Nullness.NULLABLE : Nullness.NONNULL; in onDataflowVisitMethodInvocation()
194 if (consequent.equals("false") && argAntecedentNullness.equals(Nullness.NULLABLE)) { in onDataflowVisitMethodInvocation()
198 } else if (consequent.equals("true") && argAntecedentNullness.equals(Nullness.NULLABLE)) { in onDataflowVisitMethodInvocation()
202 } else if (consequent.equals("fail") && argAntecedentNullness.equals(Nullness.NULLABLE)) { in onDataflowVisitMethodInvocation()
DContractNullnessStoreInitializer.java4 import static com.uber.nullaway.Nullness.NULLABLE;
59 Nullness assumed = NULLABLE; in getInitialStore()
DContractCheckHandler.java111 if (nullness == Nullness.NULLABLE || nullness == Nullness.NULL) { in onMatchMethod()
/external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/
DClassInspectorUtil.kt66 private val NULLABLE = Nullable::class.asClassName() in <lambda>() constant
70 NULLABLE, in <lambda>()
/external/nullaway/jar-infer/jar-infer-lib/src/main/java/com/uber/nullaway/jarinfer/
DDefinitelyDerefedParams.java230 NULLABLE, enumConstant
263 return NullnessHint.NULLABLE; in analyzeReturnType()
DDefinitelyDerefedParamsDriver.java328 if (analysisDriver.analyzeReturnType() == DefinitelyDerefedParams.NullnessHint.NULLABLE) { in analyzeReturnValue()
/external/dagger2/java/dagger/hilt/android/processor/internal/
DAndroidClassNames.java48 public static final ClassName NULLABLE = get("androidx.annotation", "Nullable"); field in AndroidClassNames
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
DHandler.java331 HINT_NULLABLE(1, Nullness.NULLABLE),
DOptionalEmptinessHandler.java143 == Nullness.NULLABLE; in isOptionalContentNullable()
/external/doclava/src/com/google/doclava/
DAndroidLinter.java155 Errors.error(Errors.NULLABLE, pos, in lintVariable()
DErrors.java309 public static final Error NULLABLE = new Error(123, HIDDEN); // LINT field in Errors
/external/dagger2/javatests/dagger/internal/codegen/
DModuleFactoryGeneratorTest.java39 private static final JavaFileObject NULLABLE = field in ModuleFactoryGeneratorTest
369 assertAbout(javaSources()).that(ImmutableList.of(moduleFile, NULLABLE)) in nullableProvides()
/external/clang/test/Index/
Dcomplete-objc-message.m347 // RUN: c-index-test -code-completion-at=%s:197:6 %s | FileCheck -check-prefix=CHECK-NULLABLE %s
348 // CHECK-NULLABLE: ObjCInstanceMethodDecl:{ResultType A * _Nonnull}{TypedText method:}{Placeholder …
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DGenerators.java104 ? Optional.of(AnnotationSpec.builder(AndroidClassNames.NULLABLE).build()) in getNullableAnnotationSpec()