- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for annotationType (0.06 sec)
-
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) -
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) -
src/main/java/org/codelibs/core/lang/AnnotationUtil.java
assertArgumentNotNull("annotation", annotation); final Map<String, Object> map = newHashMap(); final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType()); for (final String name : beanDesc.getMethodNames()) { final Object v = getProperty(beanDesc, annotation, name); if (v != null) { map.put(name, v); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
} } private CustomSize createBasicAnnotation() { return new CustomSize() { @Override public Class<? extends Annotation> annotationType() { return CustomSize.class; } @Override public String message() { return "Size validation failed"; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/validation/CronExpression.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.validation; 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;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSize.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.validation; 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;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriType.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.validation; 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;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
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)