Searched refs:nullable (Results 1 – 7 of 7) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 588 var nullable: Boolean? = null in getImplicitNullness() variable 594 nullable = false in getImplicitNullness() 602 nullable = false in getImplicitNullness() 617 nullable = false in getImplicitNullness() 626 nullable = false in getImplicitNullness() 634 nullable = false in getImplicitNullness() 639 nullable = false in getImplicitNullness() 644 nullable = false in getImplicitNullness() 648 nullable = true in getImplicitNullness() 651 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/test/connectivity/acts/framework/acts/metrics/loggers/protos/ |
D | metrics.proto | 22 // Wrapper needed to support proto3-like style nullable values.
|
/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()
|