Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 84 for jspecify (0.07 seconds)

  1. .idea/misc.xml

              <item index="14" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
              <item index="15" class="java.lang.String" itemvalue="org.jspecify.annotations.Nullable" />
              <item index="16" class="java.lang.String" itemvalue="android.annotation.Nullable" />
            </list>
          </value>
        </option>
        <option name="myNotNulls">
          <value>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 15:00:20 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                "org/codehaus/groovy",
                "org/apache/groovy",
                "org/apache/tools/ant",
                "org/apache/commons/logging",
                "org/jetbrains/annotations",
                "org/jspecify/annotations",
                "org/slf4j",
                "org/apache/log4j",
                "org/apache/xerces",
                "org/w3c/dom",
                "org/xml/sax",
                "sun/misc"
            )
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. architecture/standards/0008-use-nullaway.md

    After migrating to Java 8, we can use pluggable type checkers to ensure that our annotations are consistent, 
    and there are no missing null checks.
    
    ## Decision
    
    Use "NullAway" in JSpecify mode to check for null-related errors in Java code.
    
    Consider improper uses of `null` detected by NullAway a compilation error (not a warning, and not a separate CI job to test).
    
    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-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)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

    import org.junit.Test
    
    class JSpecifyNullUnmarkedChangesTest : AbstractBinaryCompatibilityTest() {
    
        private val nullableAnnotationName = "org.jspecify.annotations.Nullable"
        private val nullUnmarkedAnnotationName = "org.jspecify.annotations.NullUnmarked"
    
        @Test
        fun `from non-null returning to null-unmarked returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
    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)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    class JSpecifyNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
    
        override val nullableAnnotationName: String = "org.jspecify.annotations.Nullable"
    
        @Test
        fun `from non-null array returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
                    import java.util.List;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                            dependencies {
                                "implementation"(gradleApi())
                                "implementation"(kotlin("stdlib"))
                                // TODO remove once JSpecify is part of the Gradle API
                                "implementation"("org.jspecify:jspecify:1.0.0")
                            }
                        }
                        project(":v1") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

        private static final List<String> NULLABLE_ANNOTATIONS = [
            javax.annotation.Nullable,
            org.jetbrains.annotations.Nullable,
            org.jspecify.annotations.Nullable,
        ].collect { it.name }
    
        private static final String NULL_UNMARKED_ANNOTATION = org.jspecify.annotations.NullUnmarked.class.name
    
        NullabilityBreakingChangesRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
    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)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val jnrConstants = "com.github.jnr:jnr-constants"
        val joda = "joda-time:joda-time"
        val jsch = "com.github.mwiede:jsch"
        val jsr305 = "com.google.code.findbugs:jsr305"
        val jspecify = "org.jspecify:jspecify"
        val julToSlf4j = "org.slf4j:jul-to-slf4j"
        val junit = "junit:junit"
        val junitJupiter = "org.junit.jupiter:junit-jupiter"
        val junit5JupiterApi = "org.junit.jupiter:junit-jupiter-api"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:45:52 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. chainable_api.go

    package gorm
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // Model specify the model you would like to run db operations
    //
    //	// update all users's name to `hello`
    //	db.Model(&User{}).Update("name", "hello")
    //	// if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello`
    //	db.Model(&user).Update("name", "hello")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 14.8K bytes
    - Click Count (0)
Back to Top