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 Details

    • superType

      private final Class<? super T> superType
  • Constructor Details

    • GCJSerializationInstantiator

      public GCJSerializationInstantiator(Class<T> type)
  • Method Details