Class ReflectionUtils
java.lang.Object
com.mrivanplays.annotationconfig.core.utils.ReflectionUtils
Utilities to help with reflection stuff
- Since:
- 3.0.0
- Author:
- MrIvanPlays
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
castArrayToType
(Class<?> type, Object obj) static Object[]
castToArray
(Object obj) static Class<?>
getPrimitiveClass
(String typeName) static boolean
isPrimitive
(String typeName)
-
Method Details
-
isPrimitive
-
getPrimitiveClass
-
castToArray
-
castArrayToType
-