Package org.objenesis.instantiator.gcj
Class GCJInstantiator<T>
- java.lang.Object
-
- org.objenesis.instantiator.gcj.GCJInstantiatorBase<T>
-
- org.objenesis.instantiator.gcj.GCJInstantiator<T>
-
- All Implemented Interfaces:
ObjectInstantiator<T>
@Instantiator(STANDARD) public class GCJInstantiator<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 not call any constructors.- See Also:
ObjectInstantiator
-
-
Field Summary
-
Fields inherited from class org.objenesis.instantiator.gcj.GCJInstantiatorBase
type
-
-
Constructor Summary
Constructors Constructor Description GCJInstantiator(java.lang.Class<T> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
newInstance()
Returns a new instance of an object.
-
-
-
Constructor Detail
-
GCJInstantiator
public GCJInstantiator(java.lang.Class<T> type)
-
-
Method Detail
-
newInstance
public T 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.
-
-