Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 192 for annotated (0.07 sec)

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

    import java.io.Writer;
    import java.util.HashSet;
    import java.util.Set;
    import java.util.TreeSet;
    
    import org.apache.maven.api.di.Named;
    
    /**
     * Annotation processor that generates an index file for classes annotated with {@link Named}.
     * This processor scans for classes with the {@code @Named} annotation and creates a file
     * at {@code META-INF/maven/org.apache.maven.api.di.Inject} containing the fully qualified
     * names of these classes.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
      private static final Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  5-7" title="app/dependencies.py"
    {!> ../../docs_src/bigger_applications/app_an/dependencies.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Подсказка
    
    Мы рекомендуем использовать версию `Annotated`, когда это возможно.
    
    ///
    
    ```Python hl_lines="1  4-6" title="app/dependencies.py"
    {!> ../../docs_src/bigger_applications/app/dependencies.py!}
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

        /**
         * Default constructor for RelatedContentHelper.
         * The constructor does not perform any initialization logic as the actual
         * initialization is handled by the {@link #init()} method annotated with
         * {@code @PostConstruct}.
         */
        public RelatedContentHelper() {
            super();
        }
    
        private static final Logger logger = LogManager.getLogger(RelatedContentHelper.class);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
      /** A cache of annotated objects (typically a Class or Method) to its set of annotations. */
      private static final Map<AnnotatedElement, List<Annotation>> annotationCache = new HashMap<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

       * the bridge method in addition to the original method, which causes both the original and bridge
       * methods to be subscribed (since both are annotated @Subscribe) without specifically checking
       * for bridge methods.
       */
      // We use an anonymous class to be sure that we generate two methods (bridge and original).
      @SuppressWarnings("AnonymousToLambda")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * {@code C}
       *
       * <ul>
       *   <li>All visible static methods are checked such that passing null for any parameter that's
       *       not annotated nullable (according to the rules of {@link NullPointerTester}) should throw
       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertEquals(3, roles.length);
            assertEquals("ROLE_USER", roles[0]);
            assertEquals("ROLE_ADMIN", roles[1]);
            assertEquals("ROLE_GUEST", roles[2]);
        }
    
        // Test non-annotated method
        public void test_methodWithoutAnnotation() throws NoSuchMethodException {
            Method method = MethodAnnotatedClass.class.getMethod("nonAnnotatedMethod");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/sql-databases.md

    Vamos criar uma **dependência** do FastAPI com `yield` que fornecerá uma nova `Session` para cada requisição. Isso é o que garante que usamos uma única sessão por requisição. 🤓
    
    Então, criamos uma dependência `Annotated` chamada `SessionDep` para simplificar o restante do código que usará essa dependência.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[25:30] hl[25:27,30] *}
    
    ### Criar Tabelas de Banco de Dados na Inicialização
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    ```
    
    ...the bigger the codebase, the more noticeable it is.
    
    Now you can create an annotated dependency once, like this:
    
    ```Python
    CurrentUser = Annotated[User, Depends(get_current_user)]
    ```
    
    And then you can reuse this `Annotated` dependency:
    
    ```Python
    CurrentUser = Annotated[User, Depends(get_current_user)]
    
    
    @app.get("/items/")
    def read_items(user: CurrentUser):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top