Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 177 for annotated (0.3 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/TypeMetadata.java

    public interface TypeMetadata {
        void visitValidationFailures(@Nullable String ownerPropertyPath, TypeValidationContext validationContext);
    
        /**
         * Returns the set of relevant properties, that is, those properties annotated with a relevant annotation.
         */
        Set<PropertyMetadata> getPropertiesMetadata();
    
        boolean hasAnnotatedProperties();
    
        PropertyAnnotationHandler getAnnotationHandlerFor(PropertyMetadata propertyMetadata);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/global-dependencies.md

    === "Python 3.8+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/dependencies/tutorial012_an.py!}
        ```
    
    === "Python 3.8 nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="15"
        {!> ../../../docs_src/dependencies/tutorial012.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:10:13 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/HasInternalProtocol.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Indicates that there is an internal complementary protocol to the public type that is annotated with this.
     *
     * This should only be used on a type that is always assumed to also implement the internal protocol by Gradle internals.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy

                }
    
                apply plugin: CustomPlugin
            """
    
            expect:
            succeeds()
            outputContains("got it")
        }
    
        def "fails when plugin constructor is not annotated with @Inject"() {
            buildFile """
                class CustomPlugin implements Plugin<Project> {
                    CustomPlugin(WorkerExecutor executor) {
                    }
    
                    void apply(Project p) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ScopedServiceRegistry.java

     */
    
    package org.gradle.internal.service;
    
    import org.gradle.api.NonNullApi;
    import org.gradle.internal.service.scopes.Scope;
    
    /**
     * A registry validating that all registered services are annotated with a corresponding {@link Scope}.
     */
    @NonNullApi
    public class ScopedServiceRegistry extends DefaultServiceRegistry {
    
        public ScopedServiceRegistry(
            Class<? extends Scope> scope,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     *
     * @since 4.0.0
     */
    @Scope
    @Documented
    @Retention(RUNTIME)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/AbstractInputPropertyAnnotationHandler.java

                annotationType, unpackValueTypesOf(propertyMetadata),
                propertyMetadata, validationContext,
                ResolvedArtifactResult.class,
                "Extract artifact metadata and annotate with @Input",
                "Extract artifact files and annotate with @InputFiles"
            );
        }
    
        private static final String UNSUPPORTED_VALUE_TYPE = "UNSUPPORTED_VALUE_TYPE";
    
        private static void validateUnsupportedPropertyValueType(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/AbstractTypeAnnotationHandler.java

                    .id("invalid-use-of-type-annotation", "Incorrect use of type annotation", GradleCoreProblemGroup.validation().type())
                    .contextualLabel("is incorrectly annotated with @" + annotationType.getSimpleName())
                    .documentedAt(Documentation.userManual("validation_problems", "invalid_use_of_cacheable_annotation"))
                    .severity(Severity.ERROR)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/websockets.md

    === "Python 3.10+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="66-67  79"
        {!> ../../../docs_src/websockets/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="68-69  81"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:17:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top