Searched refs:nullabilityAnnotations (Results 1 – 2 of 2) sorted by relevance
88 val nullabilityAnnotations = modifiers.annotations().filter { it.isNullnessAnnotation() } in assertHasNonNullNullability() constant90 true -> assertThat(nullabilityAnnotations.single().isNonNull()).isTrue() in assertHasNonNullNullability()91 false -> assertThat(nullabilityAnnotations).isEmpty() in assertHasNonNullNullability()105 val nullabilityAnnotations = modifiers.annotations().filter { it.isNullnessAnnotation() } in assertHasNullableNullability() constant107 true -> assertThat(nullabilityAnnotations.single().isNullable()).isTrue() in assertHasNullableNullability()108 false -> assertThat(nullabilityAnnotations).isEmpty() in assertHasNullableNullability()
142 val nullabilityAnnotations = annotations.filter(this::isAnyNullabilityAnnotation) in <lambda>() constant143 if (nullabilityAnnotations.size > 1) { in <lambda>()147 checkItemNullability(type, nullabilityAnnotations.firstOrNull(), method, label) in <lambda>()