Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasNullableAnnotation (0.09 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        )
    
    
    private
    val MethodNode.isReturnTypeNullable: Boolean
        get() = visibleAnnotations.hasNullableAnnotation() ||
            visibleTypeAnnotations?.filter { TypeReference(it.typeRef).sort == TypeReference.METHOD_RETURN }.hasNullableAnnotation()
    
    
    private
    fun List<AnnotationNode>?.hasNullableAnnotation() =
        has<org.jspecify.annotations.Nullable>()
    
    
    private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top