Searched refs:nullable (Results 1 – 8 of 8) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 605 var nullable: Boolean? = null in getImplicitNullness() variable 611 nullable = false in getImplicitNullness() 619 nullable = false in getImplicitNullness() 634 nullable = false in getImplicitNullness() 643 nullable = false in getImplicitNullness() 651 nullable = false in getImplicitNullness() 656 nullable = false in getImplicitNullness() 661 nullable = false in getImplicitNullness() 665 nullable = true in getImplicitNullness() 668 return nullable in getImplicitNullness()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinter.kt | 93 val nullable = getNullable(annotations, elementAnnotations) in <lambda>() constant 94 appendNullnessSuffix(nullable, sb) // else: non null in <lambda>() 103 val nullable: Boolean? = getNullable(list, elementAnnotations) in <lambda>() constant 104 appendNullnessSuffix(nullable, buffer) // else: not null: no suffix in <lambda>() 107 private fun appendNullnessSuffix(nullable: Boolean?, sb: StringBuilder) { in <lambda>() 108 if (nullable == true) { in <lambda>() 110 } else if (nullable == null) { in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeItem.kt | 63 var nullable: Boolean? = AnnotationItem.getImplicitNullness(context) in toTypeString() variable 65 if (nullable == null) { in toTypeString() 68 nullable = true in toTypeString() 70 nullable = false in toTypeString() 74 when (nullable) { in toTypeString()
|
/tools/metalava/ |
D | FORMAT.md | 22 Kotlin-syntax, e.g. "?" for nullable types, "!" for unknown/platform types, 23 and no suffix for non-nullable types. The initial plan was to include this 41 nullable to non null, but not the other way around.) 101 nullable elements, we add "?" after the type, for unknown nullness we add "!", 123 <td>Not nullable
|
D | README.md | 109 signature format now uses a suffix of `?` for nullable, `!` for not yet 165 (e.g. you can change a parameter from non null to nullable for final classes,
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | AnnotationStatisticsTest.kt | 59 fun `Static final initialized fields are not nullable`() { in Static final initialized fields are not nullable()
|
D | ApiLintTest.kt | 1525 fun `Check nullable collections`() { in Check nullable collections()
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/ |
D | metrics.proto | 22 // Wrapper needed to support proto3-like style nullable values.
|