public class InstantiationOptimizerAdapter extends java.lang.Object implements ReflectionOptimizer.InstantiationOptimizer, java.io.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 |
---|---|
java.lang.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 java.lang.Object newInstance()
ReflectionOptimizer.InstantiationOptimizer
newInstance
in interface ReflectionOptimizer.InstantiationOptimizer
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.