Top Description Fields Constructors Methods
org.objenesis.instantiator.gcj

public Class GCJInstantiator<T>

extends GCJInstantiatorBase<T>
Class Inheritance
Annotations
@Instantiator:STANDARD
Imports
java.lang.reflect.InvocationTargetException, org.objenesis.ObjenesisException, org.objenesis.instantiator.annotations.Instantiator, .Typology

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.
Author
Leonardo Mesquita
See Also
org.objenesis.instantiator.ObjectInstantiator

Field Summary

Inherited from org.objenesis.instantiator.gcj.GCJInstantiatorBase:
dummyStreamnewObjectMethodtype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public T

Constructor Detail

GCJInstantiatorback to summary
public GCJInstantiator(Class<T> type)

Method Detail

newInstanceback to summary
public T newInstance()

Implements abstract org.objenesis.instantiator.gcj.GCJInstantiatorBase.newInstance.

Implements org.objenesis.instantiator.ObjectInstantiator.newInstance.

Doc from org.objenesis.instantiator.ObjectInstantiator.newInstance.

Returns a new instance of an object. The returned object's class is defined by the implementation.

Returns:T

A new instance of an object.

Annotations
@Override