Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for nullabilityOf (0.3 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. .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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 16:15:24 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. 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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. .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 Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(secondary.wasInterrupted());
        fallback.verifyCallCount(1);
      }
    
      // test of a bogus implementation
      @SuppressWarnings({"AsyncFunctionReturnsNull", "nullness"})
      @J2ktIncompatible // Nullability
      public void testCatchingAsync_nullInsteadOfFuture() throws Exception {
        ListenableFuture<Integer> inputFuture = immediateFailedFuture(new Exception());
        ListenableFuture<?> chainedFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertFalse(secondary.wasInterrupted());
        fallback.verifyCallCount(1);
      }
    
      // test of a bogus implementation
      @SuppressWarnings({"AsyncFunctionReturnsNull", "nullness"})
      @J2ktIncompatible // Nullability
      public void testCatchingAsync_nullInsteadOfFuture() throws Exception {
        ListenableFuture<Integer> inputFuture = immediateFailedFuture(new Exception());
        ListenableFuture<?> chainedFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top