Class ReflectionUtils
- java.lang.Object
-
- software.amazon.awssdk.utils.internal.ReflectionUtils
-
public final class ReflectionUtils extends Object
Utilities that assist with Java language reflection.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
getWrappedClass(Class<?> clazz)
Returns the wrapped class type associated with a primitive if one is known.
-
-
-
Method Detail
-
getWrappedClass
public static Class<?> getWrappedClass(Class<?> clazz)
Returns the wrapped class type associated with a primitive if one is known.- Parameters:
clazz
- The class to get the wrapped class for.- Returns:
- If the input class is a primitive class, an associated non-primitive wrapped class type will be returned, otherwise the same class will be returned indicating that no wrapping class is known.
-
-