Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getTypeVariableMap (0.12 sec)

  1. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

     */
    public class GenericsUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClass() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Foo.class);
            assertThat(map, is(notNullValue()));
            assertThat(map.isEmpty(), is(false));
            assertThat(map.get(Foo.class.getTypeParameters()[0]), is(sameClass(Object.class)));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    import static org.codelibs.core.lang.GenericsUtil.getActualClass;
    import static org.codelibs.core.lang.GenericsUtil.getGenericParameters;
    import static org.codelibs.core.lang.GenericsUtil.getTypeVariableMap;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentArrayIndex;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * @return a {@link Map} where the keys are the type variables and the values are the type arguments
         */
        public static Map<TypeVariable<?>, Type> getTypeVariableMap(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            final Map<TypeVariable<?>, Type> map = CollectionsUtil.newLinkedHashMap();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top