Class ConstructorInstantiator

  • All Implemented Interfaces:
    Instantiator

    public class ConstructorInstantiator
    extends java.lang.Object
    implements Instantiator
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstructorInstantiator​(java.lang.Object outerClassInstance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T newInstance​(java.lang.Class<T> cls)
      Creates instance of given class
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConstructorInstantiator

        public ConstructorInstantiator​(java.lang.Object outerClassInstance)
    • Method Detail

      • newInstance

        public <T> T newInstance​(java.lang.Class<T> cls)
        Description copied from interface: Instantiator
        Creates instance of given class
        Specified by:
        newInstance in interface Instantiator