Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for annotationType (0.42 sec)

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

            private final Class<? extends Annotation> annotationType;
    
            AnnotatedOrInPackageAnnotatedPredicate(Class<? extends Annotation> annotationType) {
                super("annotated (directly or via its package) with @" + annotationType.getName());
                this.annotationType = annotationType;
            }
    
            @Override
            public boolean test(JavaClass input) {
    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. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                    Class<? extends Annotation> annotationType = a.annotationType();
                    if ("org.eclipse.sisu.Typed".equals(annotationType.getName())
                            || "javax.enterprise.inject.Typed".equals(annotationType.getName())
                            || "jakarta.enterprise.inject.Typed".equals(annotationType.getName())) {
                        try {
                            Class<?>[] value =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

                        .map(Map.Entry::getValue)
                        .findFirst()
                        .orElseThrow(() -> new DIException("Scope not bound for annotation "
                                + binding.getScope().annotationType()))
                        .get();
                compiled = scope.scope((Key<Q>) binding.getOriginalKey(), binding.getScope(), compiled);
            }
            return compiled;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            when:
            run("copy")
    
            then:
            dest.file
        }
    
        def "task cannot use build service for #annotationType property"() {
            serviceImplementation()
            customTaskUsingServiceViaProperty(annotationType)
            buildFile << """
                def provider = gradle.sharedServices.registerIfAbsent("counter", CountingService) {
                    parameters.initial = 10
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private static boolean containsNullable(Annotation[] annotations) {
        for (Annotation annotation : annotations) {
          if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) {
            return true;
          }
        }
        return false;
      }
    
      private boolean isIgnored(Member member) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private static boolean containsNullable(Annotation[] annotations) {
        for (Annotation annotation : annotations) {
          if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) {
            return true;
          }
        }
        return false;
      }
    
      private boolean isIgnored(Member member) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            }
    
            public boolean equals(Object o) {
                return o instanceof Named && this.value.equals(((Named) o).value());
            }
    
            public Class<? extends Annotation> annotationType() {
                return Named.class;
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/Incubating.java

     * change at any time.
     */
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target({
        ElementType.PACKAGE,
        ElementType.TYPE,
        ElementType.ANNOTATION_TYPE,
        ElementType.CONSTRUCTOR,
        ElementType.FIELD,
        ElementType.METHOD
    })
    public @interface Incubating {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top