Package org.objenesis.instantiator.sun
Class SunReflectionFactoryHelper
- java.lang.Object
-
- org.objenesis.instantiator.sun.SunReflectionFactoryHelper
-
class SunReflectionFactoryHelper extends java.lang.ObjectHelper methods providing access toReflectionFactoryvia reflection, for use by theObjectInstantiators that use it.
-
-
Constructor Summary
Constructors Constructor Description SunReflectionFactoryHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.ObjectcreateReflectionFactory(java.lang.Class<?> reflectionFactoryClass)private static java.lang.reflect.MethodgetNewConstructorForSerializationMethod(java.lang.Class<?> reflectionFactoryClass)private static java.lang.Class<?>getReflectionFactoryClass()static <T> java.lang.reflect.Constructor<T>newConstructorForSerialization(java.lang.Class<T> type, java.lang.reflect.Constructor<?> constructor)
-
-
-
Method Detail
-
newConstructorForSerialization
public static <T> java.lang.reflect.Constructor<T> newConstructorForSerialization(java.lang.Class<T> type, java.lang.reflect.Constructor<?> constructor)
-
getReflectionFactoryClass
private static java.lang.Class<?> getReflectionFactoryClass()
-
createReflectionFactory
private static java.lang.Object createReflectionFactory(java.lang.Class<?> reflectionFactoryClass)
-
getNewConstructorForSerializationMethod
private static java.lang.reflect.Method getNewConstructorForSerializationMethod(java.lang.Class<?> reflectionFactoryClass)
-
-