@Instantiator(value=STANDARD) public class MagicInstantiator<T> extends Object implements ObjectInstantiator<T>
MagicAccessorImpl which prevents
 its children to be verified by the class loader| Constructor and Description | 
|---|
MagicInstantiator(Class<T> type)  | 
| Modifier and Type | Method and Description | 
|---|---|
ObjectInstantiator<T> | 
getInstantiator()
Get the underlying instantiator. 
 | 
T | 
newInstance()
Returns a new instance of an object. 
 | 
public ObjectInstantiator<T> getInstantiator()
MagicInstantiator is a wrapper around another object
 which implements ObjectInstantiator interface.
 This method exposes that instantiator.public T newInstance()
ObjectInstantiatornewInstance in interface ObjectInstantiator<T>Copyright © 2006–2017 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All rights reserved.