Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for nullabilityOf (0.07 seconds)

  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) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (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
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  3. architecture/standards/0008-use-nullaway.md

    Only enable checks for a project if all its dependencies have checks enabled, in order to avoid back-and-forth when refining the annotations.
    
    Avoid writing the so-called `PolyNull` or `ParametricNull` methods (where nullability of the result depends on the nullability of the type argument).
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

            ) {
                assertHasNoError()
                assertHasWarnings(
                    "Method com.example.Source.foo(java.lang.String): Return nullability changed from null-unmarked to non-nullable",
                    "Method com.example.Source.baz(java.lang.String): Return nullability changed from null-unmarked to non-nullable",
                )
                assertHasNoInformation()
            }
        }
    
        @Test
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. .gitignore

    /*/internal-android-performance-testing/build-android-libs
    test-splits/
    /gradle/verification-keyring.gpg
    
    # Kotlin
    # ------
    .kotlin
    
    # IDEA
    # ----
    !/.idea
    /.idea/*
    # Needed to track entry points and nullability annotations (see https://youtrack.jetbrains.com/issue/IDEA-354114 and https://youtrack.jetbrains.com/issue/IDEA-354115)
    !/.idea/misc.xml
    !/.idea/codeStyles
    !/.idea/inspectionProfiles
    !/.idea/icon.png
    !/.idea/icon_dark.png
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 11 20:35:18 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. okhttp/okhttp3.pro

    # JSR 305 annotations are for embedding nullability information.
    -dontwarn javax.annotation.**
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    # May be used with robolectric or deliberate use of Bouncy Castle on Android
    -dontwarn okhttp3.internal.platform.**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 19 13:25:00 GMT 2025
    - 512 bytes
    - Click Count (0)
  7. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

                -->
                <property name="illegalPkgs" value="jdk.internal,com.beust,org.testng.collections"/>
                <!--
                    We prefer org.jspecify for nullability annotations.
                -->
                <property name="illegalClasses" value="org.jetbrains.annotations.Nullable,org.jetbrains.annotations.NotNull"/>
            </module>
    
            <!-- Naming -->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. .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
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Nov 07 21:47:29 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. 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()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
Back to Top