Package org.objenesis.instantiator.gcj
Class GCJSerializationInstantiator<T>
java.lang.Object
org.objenesis.instantiator.gcj.GCJInstantiatorBase<T>
org.objenesis.instantiator.gcj.GCJSerializationInstantiator<T>
- All Implemented Interfaces:
ObjectInstantiator<T>
@Instantiator(SERIALIZATION)
public class GCJSerializationInstantiator<T>
extends GCJInstantiatorBase<T>
Instantiates a class by making a call to internal GCJ private methods. It is only supposed to
work on GCJ JVMs. This instantiator will create classes in a way compatible with serialization,
calling the first non-serializable superclass' no-arg constructor.
- See Also:
-
Field Summary
Fields inherited from class org.objenesis.instantiator.gcj.GCJInstantiatorBase
type
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GCJSerializationInstantiator
-
-
Method Details
-
newInstance
Description copied from interface:ObjectInstantiator
Returns a new instance of an object. The returned object's class is defined by the implementation.- Specified by:
newInstance
in interfaceObjectInstantiator<T>
- Specified by:
newInstance
in classGCJInstantiatorBase<T>
- Returns:
- A new instance of an object.
-