Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 344 for asAnnotation (0.05 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

                "Feature enum %s should contain an annotation named 'Require'.", featureEnumClass));
      }
    
      @SuppressWarnings("unchecked")
      private static Class<? extends Annotation> asAnnotation(Class<?> clazz) {
        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

                "Feature enum %s should contain an annotation named 'Require'.", featureEnumClass));
      }
    
      @SuppressWarnings("unchecked")
      private static Class<? extends Annotation> asAnnotation(Class<?> clazz) {
        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals(0, annotation.groups().length);
            assertEquals(0, annotation.payload().length);
        }
    
        // Test annotation target elements
        public void test_annotationTargetElements() {
            CronExpression.class.isAnnotation();
            assertTrue(CronExpression.class.isAnnotation());
    
            // Check that annotation can be applied to METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import java.lang.annotation.Annotation;
    import java.lang.annotation.Documented;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import java.lang.annotation.Annotation;
    import java.lang.annotation.Documented;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/AndroidIncompatible.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.CLASS;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/AndroidIncompatible.java

     */
    
    package com.google.common.hash;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.CLASS;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 15:54:11 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/features/AndroidIncompatible.java

    package com.google.common.collect.testing.features;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.CLASS;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 15:54:11 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/CustomSize.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

        }
    
        /**
         * Returns the elements of the annotation as a {@link Map} of names and values.
         *
         * @param annotation the annotation (must not be {@literal null})
         * @return a {@link Map} of annotation element names and values
         */
        public static Map<String, Object> getProperties(final Annotation annotation) {
            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top