Package io.protostuff.runtime
Class RuntimeEnv.DefaultInstantiator<T>
- java.lang.Object
-
- io.protostuff.runtime.RuntimeEnv.Instantiator<T>
-
- io.protostuff.runtime.RuntimeEnv.DefaultInstantiator<T>
-
- Enclosing class:
- RuntimeEnv
static final class RuntimeEnv.DefaultInstantiator<T> extends RuntimeEnv.Instantiator<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.reflect.Constructor<T>
constructor
-
Constructor Summary
Constructors Constructor Description DefaultInstantiator(java.lang.reflect.Constructor<T> constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
newInstance()
Creates a new instance of an object.
-
-
-
Field Detail
-
constructor
final java.lang.reflect.Constructor<T> constructor
-
-
Constructor Detail
-
DefaultInstantiator
DefaultInstantiator(java.lang.reflect.Constructor<T> constructor)
-
-
Method Detail
-
newInstance
public T newInstance()
Description copied from class:RuntimeEnv.Instantiator
Creates a new instance of an object.- Specified by:
newInstance
in classRuntimeEnv.Instantiator<T>
-
-