Top Description Fields Constructors Methods
org.springframework.objenesis.instantiator.perc

public Class PercInstantiator<T>

extends Object
implements ObjectInstantiator<T>
Class Inheritance
All Implemented Interfaces
org.springframework.objenesis.instantiator.ObjectInstantiator
Annotations
@Instantiator:STANDARD
Imports
java.io.ObjectInputStream, java.lang.reflect.Method, org.springframework.objenesis.ObjenesisException, org.springframework.objenesis.instantiator.ObjectInstantiator, org.springframework.objenesis.instantiator.annotations.Instantiator, .Typology

Instantiates a class by making a call to internal Perc private methods. It is only supposed to work on Perc JVMs. This instantiator will not call any constructors. The code was provided by Aonix Perc support team.
Author
Henri Tremblay
See Also
org.springframework.objenesis.instantiator.ObjectInstantiator

Field Summary

Modifier and TypeField and Description
private final Method
private final Object[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public T
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

newInstanceMethodback to summary
private final Method newInstanceMethod
typeArgsback to summary
private final Object[] typeArgs

Constructor Detail

PercInstantiatorback to summary
public PercInstantiator(Class<T> type)

Method Detail

newInstanceback to summary
public T newInstance()

Implements org.springframework.objenesis.instantiator.ObjectInstantiator.newInstance.

Doc from org.springframework.objenesis.instantiator.ObjectInstantiator.newInstance.

Returns a new instance of an object. The returned object's class is defined by the implementation.

Returns:T

A new instance of an object.

Annotations
@SuppressWarnings:unchecked