Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nullabilityOf (0.05 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                def oldNullability = nullabilityOf(oldMethod)
                def newNullability = nullabilityOf(newMethod)
    
                if (oldNullability == Nullability.NON_NULL && newNullability == Nullability.NULLABLE) {
                    errors << "From non-null returning to null returning breaking change"
                } else if (oldNullability == Nullability.NON_NULL && newNullability == Nullability.UNMARKED) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                    }
                """
            ) {
                assertHasNoError()
                assertHasWarnings(
                    "Field finalField: Nullability changed from nullable to non-nullable",
                    "Method com.example.Source.foo(java.lang.String): Return nullability changed from nullable to non-nullable"
                )
                assertHasNoInformation()
            }
        }
    
        @Test
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu May 15 17:05:08 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. .github/CODEOWNERS

    testing/architecture-test/src/changes/accepted-changes/accepted-public-api-changes.json
    testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
    
    # Core automation platform (core/configuration)
    platforms/core-configuration/               @gradle/bt-cortex
    testing/smoke-ide-test/                     @gradle/bt-cortex
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Nov 07 21:47:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            // This is a function of some sort
            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
            .substringBefore('<') // generics are not part of parameter types in JVM method signatures
    
        val thisTypeAsKt = name.mapJavaTypeToKotlinType()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 08 07:02:19 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

     *       <i>not</i> the same string ({@code "1.00"}) we started with
     * </ol>
     *
     * <p>Note that it should still be the case that the round-tripped and original objects are
     * <i>similar</i>.
     *
     * <h3>Nullability</h3>
     *
     * <p>A converter always converts {@code null} to {@code null} and non-null references to non-null
     * references. It would not make sense to consider {@code null} and a non-null reference to be
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top