Class ReflectionUtils


  • public final class ReflectionUtils
    extends Object
    Utilities that assist with Java language reflection.
    • 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.