Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 425 for asAnnotation (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java

     * the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    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 java.lang.annotation.Target;
    import org.jspecify.annotations.NullMarked;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 02 18:21:28 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. 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)
  3. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Immutable.java

     * under the License.
     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The {@code Immutable} annotation indicates that the object is immutable, i.e.
     * none of its field can be changed.  This also ensures that the type is
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The annotated element must not be null.
     * <p>
     * Annotated fields must not be null after construction has completed.
     * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.annotation;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/reflect/Parameter.java

        return getAnnotation(annotationType) != null;
      }
    
      @Override
      public <A extends Annotation> @Nullable A getAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
        for (Annotation annotation : annotations) {
          if (annotationType.isInstance(annotation)) {
            return annotationType.cast(annotation);
          }
        }
        return null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     */
    
    package com.google.common.base;
    
    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: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

     * under the License.
     */
    package org.apache.maven.api.plugin.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

                assertTrue("Valid annotation should initialize successfully", true);
            } catch (final IllegalArgumentException e) {
                fail("Valid annotation should not cause IllegalArgumentException: " + e.getMessage());
            }
        }
    
        public void test_isValid_basic() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top