- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AnnotationUtil (0.06 sec)
-
src/main/java/org/codelibs/core/lang/AnnotationUtil.java
import org.codelibs.core.beans.factory.BeanDescFactory; /** * Utility class for annotations. * * @author higa */ public abstract class AnnotationUtil { /** * Do not instantiate. */ protected AnnotationUtil() { } /** * Returns the elements of the annotation as a {@link Map} of names and values. *
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/core/lang/AnnotationUtilTest.java
final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); final Annotation anno = m.getAnnotation(Hoge.class); final Map<String, Object> props = AnnotationUtil.getProperties(anno); assertThat((String) props.get("aaa"), is("123")); assertThat((String) props.get("bbb"), is("3")); assertThat(props.get("ccc"), is(nullValue())); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0)