public class InstantiationOptimizerAdapter extends Object implements ReflectionOptimizer.InstantiationOptimizer, Serializable
ReflectionOptimizer.InstantiationOptimizer
implementation for Javassist
which simply acts as an adapter to the FastClass
class.Constructor and Description |
---|
InstantiationOptimizerAdapter(FastClass fastClass)
Constructs the InstantiationOptimizerAdapter
|
Modifier and Type | Method and Description |
---|---|
Object |
newInstance()
Perform instantiation of an instance of the underlying class.
|
public InstantiationOptimizerAdapter(FastClass fastClass)
fastClass
- The fast class for the class to be instantiated here.public Object newInstance()
ReflectionOptimizer.InstantiationOptimizer
newInstance
in interface ReflectionOptimizer.InstantiationOptimizer
Copyright © 2016 JBoss by Red Hat. All rights reserved.