Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for annotated (0.39 sec)

  1. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

            return ArchConditions.be(annotatedOrInPackageAnnotatedWith(annotationType));
        }
    
        /**
         * Either the class is directly annotated with the given annotation type or the class is in a package that is annotated with the given annotation type.
         */
        static DescribedPredicate<JavaClass> annotatedOrInPackageAnnotatedWith(Class<? extends Annotation> annotationType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="6  12-13"
        {!> ../../../docs_src/settings/app02_an/main.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="5  11-12"
        {!> ../../../docs_src/settings/app02/main.py!}
        ```
    
    !!! tip
        We'll discuss the `@lru_cache` in a bit.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    === "Python 3.9+"
    
        In Python 3.9, `Annotated` is part of the standard library, so you can import it from `typing`.
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial013_py39.py!}
        ```
    
    === "Python 3.8+"
    
        In versions below Python 3.9, you import `Annotated` from `typing_extensions`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. pkg/test/framework/test.go

    	// RequireIstioVersion ensures that all installed versions of Istio are at least the
    	// required version for the annotated test to pass
    	RequireIstioVersion(version string) Test
    	// RequireKubernetesMinorVersion ensures that all Kubernetes clusters used in this test
    	// are at least the required version for the annotated test to pass
    	RequireKubernetesMinorVersion(minorVersion uint) Test
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            fun added(thing: String, desc: String): List<String> =
                listOf(
                    "$thing ${describe(thing, desc)}: Is not annotated with @Incubating.",
                    "$thing ${describe(thing, desc)}: Is not annotated with @since 2.0."
                )
    
            fun removed(thing: String, desc: String): Pair<String, List<String>> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. 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}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (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}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            // Because
            failureDescriptionContains("ResolvedArtifactResult is not supported on task properties annotated with $annotation.")
    
            // Possible solutions
            failureDescriptionContains("1. Extract artifact metadata and annotate with @Input.")
            failureDescriptionContains("2. Extract artifact files and annotate with @InputFiles.")
    
            // Documentation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy

                            return "tibor";
                        }
                    }
    
                    // Does not validate the type parameter of extended collection
                    // because it has annotated properties
                    public static class AnnotatedList extends ArrayList<Options> {
                        public AnnotatedList() {
                            add(new Options());
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
                if (field == null) {
                    throw new PluginConfigurationException(
                            pluginDescriptor,
                            "Unable to find field '" + resolution.getField() + "' annotated with @Resolution");
                }
                field.setAccessible(true);
                String pathScope = resolution.getPathScope();
                Object result = null;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top