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 ObjectInstantiators that use it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ObjectcreateReflectionFactory(Class<?> reflectionFactoryClass) private static MethodgetNewConstructorForSerializationMethod(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
-