Class ObjenesisInstantiator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.objenesis.ObjenesisStd objenesis  
    • 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
    • Field Detail

      • objenesis

        private final org.objenesis.ObjenesisStd objenesis
    • Constructor Detail

      • ObjenesisInstantiator

        ObjenesisInstantiator()
    • 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