Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 94 for SetAnnotation (2.63 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java

            while (outermostClass.getEnclosingClass() != null) {
                outermostClass = outermostClass.getEnclosingClass();
            }
    
            RunWith runWith = outermostClass.getAnnotation(RunWith.class);
            return runWith != null && Enclosed.class.equals(runWith.value());
        }
    
        private void verifyJUnitCategorySupport() {
            boolean failed = false;
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

                }
            });
        }
    
        @Nullable
        private static Class<? extends Scope>[] scopeOf(Class<?> serviceType) {
            ServiceScope scopeAnnotation = serviceType.getAnnotation(ServiceScope.class);
            return scopeAnnotation != null ? scopeAnnotation.value() : null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTypeModelRuleExtractorTest.groovy

        ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(new DefaultModelSchemaStore(DefaultModelSchemaExtractor.withDefaultStrategies()))
    
        @Override
        Class<? extends Annotation> getAnnotation() {
            return ComponentType
        }
    
        Class<?> ruleClass = Rules
    
        def "applies BinaryBasePlugin and creates binary type rule"() {
            def mockRegistry = Mock(ModelRegistry)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Invokable.java

        return accessibleObject.isAnnotationPresent(annotationClass);
      }
    
      @Override
      @CheckForNull
      public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
        return accessibleObject.getAnnotation(annotationClass);
      }
    
      @Override
      public final Annotation[] getAnnotations() {
        return accessibleObject.getAnnotations();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/internal/ComponentTypeModelRuleExtractorTest.groovy

        ComponentTypeModelRuleExtractor ruleHandler = new ComponentTypeModelRuleExtractor(schemaStore)
    
        @Override
        Class<? extends Annotation> getAnnotation() { return ComponentType }
    
        Class<?> ruleClass = Rules
    
        def "applies ComponentModelBasePlugin and creates component type rule"() {
            def mockRegistry = Mock(ModelRegistry)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Invokable.java

        return accessibleObject.isAnnotationPresent(annotationClass);
      }
    
      @Override
      @CheckForNull
      public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
        return accessibleObject.getAnnotation(annotationClass);
      }
    
      @Override
      public final Annotation[] getAnnotations() {
        return accessibleObject.getAnnotations();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            boolean hasCycle = !dejaVu.add(original);
            Throwable throwable = original;
            type = throwable.getClass().getName();
            contextual = throwable.getClass().getAnnotation(Contextual.class) != null;
            assertionError = throwable instanceof AssertionError;
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    Class<? extends Annotation> annotationType = annotation.annotationType();
                    if (annotationType.getAnnotation(Inherited.class) != null) {
                        continue;
                    }
                    Retention retention = annotationType.getAnnotation(Retention.class);
                    methodVisitor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            Class<?> generatedClass = generator.generate(BeanWithAnnotatedConstructor.class).getGeneratedClass();
            Constructor<?> constructor = generatedClass.getDeclaredConstructors()[0];
    
            assertThat(constructor.getAnnotation(Inject.class), notNullValue());
        }
    
        @Test
        public void includesAnnotationInformationForOverriddenConstructorWithName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java

                // Internal listeners are always allowed: we know their lifecycle and ensure there are no problems when configuration cache is reused.
                return true;
            }
            if (JavaPropertyReflectionUtil.getAnnotation(listener.getClass(), DeprecatedInGradleScope.class) != null) {
                // Explicitly unsupported Listener types are disallowed.
                return false;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top