Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getAnnotations (0.06 sec)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        FROM_DECLARATION_ANNOTATIONS_ONLY {
          @Override
          boolean isNullable(Invokable<?, ?> invokable) {
            return containsNullable(invokable.getAnnotations());
          }
    
          @Override
          boolean isNullable(Parameter param) {
            return containsNullable(param.getAnnotations());
          }
        };
    
        abstract boolean isNullable(Invokable<?, ?> invokable);
    
        abstract boolean isNullable(Parameter param);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

        protected void extractAnnotations(final PDDocument doc, final StringWriter writer) {
            for (final PDPage page : doc.getPages()) {
                try {
                    for (final PDAnnotation annotation : page.getAnnotations()) {
                        if (annotation instanceof final PDAnnotationFileAttachment annotationFileAttachment) {
                            final PDFileSpecification fileSpec = annotationFileAttachment.getFile();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        assertNotNull(
            rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
            annotationClass.getAnnotation(TesterAnnotation.class));
        Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertNotNull(
            rootLocaleFormat("%s must have a @Retention annotation.", annotationClass),
            retentionPolicy);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Retention retention = Secured.class.getAnnotation(Retention.class);
            assertNotNull(retention);
            assertEquals(RetentionPolicy.RUNTIME, retention.value());
    
            // Check Inherited annotation
            assertNotNull(Secured.class.getAnnotation(Inherited.class));
    
            // Check Documented annotation
            assertNotNull(Secured.class.getAnnotation(Documented.class));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        assertNotNull(
            rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
            annotationClass.getAnnotation(TesterAnnotation.class));
        Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertNotNull(
            rootLocaleFormat("%s must have a @Retention annotation.", annotationClass),
            retentionPolicy);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            final Retention retention = UriType.class.getAnnotation(Retention.class);
            assertNotNull("Retention annotation should be present", retention);
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
        public void test_targetElements() {
            final Target target = UriType.class.getAnnotation(Target.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            final Retention retention = CustomSize.class.getAnnotation(Retention.class);
            assertNotNull("Retention annotation should be present", retention);
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
        public void test_targetElements() {
            final Target target = CustomSize.class.getAnnotation(Target.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)
  8. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

      final <T> T isSubtype(T sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
        TestSubtype spec = method.getAnnotation(TestSubtype.class);
        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isTrue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertNotNull(retention);
            assertEquals(java.lang.annotation.RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation is documented
        public void test_annotationDocumented() {
            java.lang.annotation.Documented documented = CronExpression.class.getAnnotation(java.lang.annotation.Documented.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

            assertThrows(
                ConflictingRequirementsException.class, () -> buildTesterRequirements(Tester.class));
        assertThat(e.getConflicts()).containsExactly(FOO);
        assertThat(e.getSource()).isEqualTo(Tester.class.getAnnotation(Require.class));
      }
    
      public void testBuildTesterRequirements_classClassConflict_inherited() {
        @Require(FOO)
        abstract class BaseTester {}
        @Require(absent = FOO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top