Package org.objenesis.instantiator.sun
Class SunReflectionFactoryHelper
java.lang.Object
org.objenesis.instantiator.sun.SunReflectionFactoryHelper
Helper methods providing access to
ReflectionFactory
via reflection, for use
by the ObjectInstantiator
s that use it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Object
createReflectionFactory
(Class<?> reflectionFactoryClass) private static Method
getNewConstructorForSerializationMethod
(Class<?> reflectionFactoryClass) private static Class
<?> static <T> Constructor
<T> newConstructorForSerialization
(Class<T> type, Constructor<?> constructor)
-
Constructor Details
-
SunReflectionFactoryHelper
SunReflectionFactoryHelper()
-
-
Method Details
-
newConstructorForSerialization
public static <T> Constructor<T> newConstructorForSerialization(Class<T> type, Constructor<?> constructor) -
getReflectionFactoryClass
-
createReflectionFactory
-
getNewConstructorForSerializationMethod
-