public T instantiateAnonymousSubclass ( ) { Class < T > proxyClass = giveDynamicSubclass ( type ) ; return objenesis . newInstance ( proxyClass ) ; }
Instantiates an anonymous subclass of T . The subclass is generated dynamically .