Package io.github.qishr.cascara.common.util
Class ReflectionUtils
java.lang.Object
io.github.qishr.cascara.common.util.ReflectionUtils
public class ReflectionUtils
Constructor Summary
| Constructor | Description |
|---|---|
| ReflectionUtils() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public static Class<?> | getGenericTypeOfListField(Field field) | |
| public static Class<?> | getGenericTypeOfMapKey(Field field) | |
| public static Class<?> | getGenericTypeOfMapValue(Field field) |
Method Details
getGenericTypeOfListField
public static Class<?> getGenericTypeOfListField(Field field)
getGenericTypeOfMapKey
public static Class<?> getGenericTypeOfMapKey(Field field)
getGenericTypeOfMapValue
public static Class<?> getGenericTypeOfMapValue(Field field)