Package io.beanmapper.utils
Class Classes
java.lang.Object
io.beanmapper.utils.Classes
Reflection utilities.
- Since:
- Jun 24, 2015
- Author:
- Jeroen van Schagen
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<?>
Retrieve the class by name.static Class<?>[]
getParameteredTypes
(Class<?> clazz) Retrieve the parameterized types of a class.static Type[]
getParameteredTypes
(Class<?> clazz, BeanPropertyMatch beanPropertyMatch)
-
Method Details
-
forName
Retrieve the class by name.- Parameters:
className
- the class name- Returns:
- the class for that name
- Throws:
IllegalArgumentException
- whenever the class name does not exist
-
getParameteredTypes
Retrieve the parameterized types of a class.- Parameters:
clazz
- the class to check for- Returns:
- the parameterized types
-
getParameteredTypes
-