Top Description Constructors Methods
org.springframework.objenesis.instantiator.sun

pack-priv Class SunReflectionFactoryHelper

extends Object
Class Inheritance
Annotations
@SuppressWarnings:restriction
Imports
java.lang.reflect.Constructor, .InvocationTargetException, .Method, org.springframework.objenesis.ObjenesisException, org.springframework.objenesis.instantiator.ObjectInstantiator

Helper methods providing access to sun.reflect.ReflectionFactory via reflection, for use by the ObjectInstantiators that use it.
Author
Henri Tremblay

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static Object
createReflectionFactory(Class<?> reflectionFactoryClass)

private static Method
private static Class<?>
public static <T> Constructor<T>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SunReflectionFactoryHelperback to summary
pack-priv SunReflectionFactoryHelper()

Method Detail

createReflectionFactoryback to summary
private static Object createReflectionFactory(Class<?> reflectionFactoryClass)
getNewConstructorForSerializationMethodback to summary
private static Method getNewConstructorForSerializationMethod(Class<?> reflectionFactoryClass)
getReflectionFactoryClassback to summary
private static Class<?> getReflectionFactoryClass()
newConstructorForSerializationback to summary
public static <T> Constructor<T> newConstructorForSerialization(Class<T> type, Constructor<?> constructor)
Annotations
@SuppressWarnings:unchecked