- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for nullabilityOf (0.06 sec)
-
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) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt
"Method com.example.Source.foo(java.lang.String): Parameter 0 nullability changed from non-nullable to nullable", "Constructor com.example.Source(java.lang.String): Parameter 0 nullability changed from non-nullable to nullable", "Method com.example.SourceKt.invoke(com.example.Source,java.lang.String): Parameter 1 nullability changed from non-nullable to nullable" )
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 04 09:55:47 UTC 2025 - 5K bytes - Viewed (0) -
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() } } @TestRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu May 15 17:05:08 UTC 2025 - 18K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.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() } } @TestRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 04 09:55:47 UTC 2025 - 5.1K bytes - Viewed (0) -
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).
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:40 UTC 2025 - 4K bytes - Viewed (0) -
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() } } @TestRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Oct 27 09:26:32 UTC 2025 - 5.1K bytes - Viewed (0) -
.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
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Nov 11 20:35:18 UTC 2025 - 1.7K bytes - Viewed (0) -
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.**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 19 13:25:00 UTC 2025 - 512 bytes - Viewed (0) -
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 -->Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 11 10:24:25 UTC 2025 - 6.6K bytes - Viewed (0) -
.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)