Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getGenericType (0.06 sec)

  1. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @return the element type of the collection
         */
        public static Class<?> getElementTypeOfCollection(final Field field) {
            assertArgumentNotNull("field", field);
    
            final Type type = field.getGenericType();
            return GenericsUtil.getRawClass(GenericsUtil.getElementTypeOfCollection(type));
        }
    
        /**
         * Returns the key type of a parameterized map field.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

            assertArgumentNotNull("field", field);
            assertArgumentNotNull("map", map);
    
            return createParameterizedClassDesc(field.getGenericType(), map);
        }
    
        /**
         * Creates and returns a {@link ParameterizedClassDesc} that represents the type of the constructor argument.
         *
         * @param constructor
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * @return the generic type class, or null if not found
         */
        public static Type getGenericParameter(final java.lang.reflect.Field field, final int index) {
            return getGenericParameter(field.getGenericType(), index);
        }
    
        /**
         * Returns the generic type of the specified field for the given index, or the default class if not found.
         *
         * @param field the field to analyze
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top