Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for annotationType (0.06 sec)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Annotation type should be CustomSize", CustomSize.class, customAnnotation.annotationType());
        }
    
        // Test annotation with empty keys
        public void test_annotationWithEmptyKeys() {
            final CustomSize emptyKeysAnnotation = new CustomSize() {
                @Override
                public Class<? extends Annotation> annotationType() {
                    return CustomSize.class;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Annotation type should be UriType", UriType.class, customAnnotation.annotationType());
        }
    
        // Test annotation with FILE protocol type
        public void test_annotationWithFileProtocolType() {
            final UriType fileAnnotation = new UriType() {
                @Override
                public Class<? extends Annotation> annotationType() {
                    return UriType.class;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation)
          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation)
          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. 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) {
        return member.isSynthetic()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        public void test_annotationTargetElements() {
            CronExpression.class.isAnnotation();
            assertTrue(CronExpression.class.isAnnotation());
    
            // Check that annotation can be applied to METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER
            java.lang.annotation.Target target = CronExpression.class.getAnnotation(java.lang.annotation.Target.class);
            assertNotNull(target);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top