Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 496 for annotated (0.15 seconds)

  1. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * </pre>
     *
     * @see Inject
     * @see Qualifier
     * @since 4.0.0
     */
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        /**
         * The name identifier for the annotated element.
         * <p>
         * If no value is specified, the default empty string will be used.
         * When used as a qualifier, this value helps distinguish between different
         * implementations or instances of the same type.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java

     * calculate the execution plan, but custom lifecycles can use alternative mapping strategies.
     * <p>
     * Implementations of this interface must be annotated with either {@code @Named("lifecycle-id")} or equivalent plexus
     * {@code @Component} annotations.
     *
     * @since 3.2.0
     * @see org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java

    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class SinceAnnotationRule extends AbstractGradleViolationRule {
    
        public static final String SINCE_ERROR_MESSAGE = "Is not annotated with @since ";
        public static final String SINCE_MISMATCH_ERROR_MESSAGE = "Has invalid @since: it should be %s, but currently is %s";
        public static final String SINCE_INCONSISTENT_ERROR_MESSAGE = "Has inconsistent @since: %s";
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. fastapi/_compat/v2.py

    import re
    import warnings
    from collections.abc import Sequence
    from copy import copy, deepcopy
    from dataclasses import dataclass, is_dataclass
    from enum import Enum
    from functools import lru_cache
    from typing import (
        Annotated,
        Any,
        Union,
        cast,
    )
    
    from fastapi._compat import shared
    from fastapi.openapi.constants import REF_TEMPLATE
    from fastapi.types import IncEx, ModelNameMap, UnionType
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

            // all, the definition of subscribers on a particular class is totally static
            throw new IllegalArgumentException(
                "missing event subscriber for an annotated method. Is " + listener + " registered?");
          }
    
          // don't try to remove the set if it's empty; that can't be done safely without a lock
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. architecture/standards/0008-use-nullaway.md

    Our codebase uses `null` extensively to represent an absence of value or optionality of the argument.
    We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us.
    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    * Redundant null checks may increase binary size, hurt performance, and increase cognitive load for readers
    * Missing null checks may cause NullPointerException
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      /**
       * Tests that {@code cls} properly checks null on all constructor and method parameters that
       * aren't annotated nullable (according to the rules of {@link NullPointerTester}). In details:
       *
       * <ul>
       *   <li>All non-private static methods are checked such that passing null for any parameter
       *       that's not annotated nullable should throw {@link NullPointerException}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * {@snippet :
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 25 23:29:58 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester of subtyping relationships between two types.
     *
     * <p>Tests should inherit from this class, and declare subtyping relationship with public methods
     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * {@snippet :
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 25 23:29:58 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

     */
    public class FeatureEnumTest extends TestCase {
      private static void assertGoodTesterAnnotation(Class<? extends Annotation> annotationClass) {
        assertWithMessage(
                rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass))
            .that(annotationClass.getAnnotation(TesterAnnotation.class))
            .isNotNull();
        Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top