Interface ObjectInstantiator<T>

All Known Implementing Classes:
AccessibleInstantiator, Android10Instantiator, Android17Instantiator, Android18Instantiator, AndroidSerializationInstantiator, ConstructorInstantiator, DelegatingToExoticInstantiator, FailingInstantiator, GCJInstantiator, GCJInstantiatorBase, GCJSerializationInstantiator, MagicInstantiator, MagicInstantiator, NewInstanceInstantiator, NullInstantiator, ObjectInputStreamInstantiator, ObjectStreamClassInstantiator, PercInstantiator, PercSerializationInstantiator, ProxyingInstantiator, ProxyingInstantiator, SunReflectionFactoryInstantiator, SunReflectionFactorySerializationInstantiator, UnsafeFactoryInstantiator

public interface ObjectInstantiator<T>
Instantiates a new object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new instance of an object.
  • Method Details

    • newInstance

      T newInstance()
      Returns a new instance of an object. The returned object's class is defined by the implementation.
      Returns:
      A new instance of an object.