- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getGenericType (0.26 sec)
-
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) -
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 analyzeRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0)