Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 871 for NULLABLE (0.03 sec)

  1. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nullable.java

    /**
     * The annotated element can be {@code null}.
     *
     * @see Nonnull
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

    class NullabilityBreakingChangesRule extends AbstractGradleViolationRule {
    
        enum Nullability {
            NON_NULL, NULLABLE, UNMARKED,
        }
    
        private static final List<String> NULLABLE_ANNOTATIONS = [
            javax.annotation.Nullable,
            org.jetbrains.annotations.Nullable,
            org.jspecify.annotations.Nullable,
        ].collect { it.name }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                    "Method com.example.Source.baz(java.lang.String): Return nullability changed from null-unmarked to non-nullable",
                )
                assertHasNoInformation()
            }
        }
    
        @Test
        fun `from null-unmarked returning to nullable returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

     */
    package org.apache.maven.api.cli;
    
    import java.util.List;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Defines a simple logging interface for Maven CLI operations. These operations happen "early", when there may
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapTester<K, V> {
    
      @Override
      protected BiMap<K, V> getMap() {
        return (BiMap<K, V>) super.getMap();
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry(
          Entry<K, V> entry) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Derived suite generators for Guava collection interfaces, split out of the suite builders so that
     * they are available to GWT.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public final class DerivedGoogleCollectionGenerators {
      public static class MapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.8K bytes
    - Viewed (2)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public final class MinimalIterable<E extends @Nullable Object> implements Iterable<E> {
      /** Returns an iterable whose iterator returns the given elements in order. */
      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            "toString() isn't properly forwarded",
            proxy.toString(),
            wrapperFunction.apply(proxy).toString());
      }
    
      private static @Nullable Object[] getParameterValues(Method method) {
        FreshValueGenerator paramValues = new FreshValueGenerator();
        List<@Nullable Object> passedArgs = new ArrayList<>();
        for (Class<?> paramType : method.getParameterTypes()) {
          passedArgs.add(paramValues.generateFresh(paramType));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

      abstract <R> @Nullable R dummyReturnValue(TypeToken<R> returnType);
    
      private final class DummyHandler extends AbstractInvocationHandler implements Serializable {
        private final TypeToken<?> interfaceType;
    
        DummyHandler(TypeToken<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java

         */
        public InvokerException(@Nullable String message) {
            super(message);
        }
    
        /**
         * Constructs a new {@code InvokerException} with the specified detail message and cause.
         *
         * @param message the detail message explaining the cause of the exception
         * @param cause the underlying cause of the exception
         */
        public InvokerException(@Nullable String message, @Nullable Throwable cause) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 10:47:37 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top