returns a proxy instance that implements interfacetype bydispatching method invocations to handler . the class loader of interfacetype will be used to define the proxy class . to implementmultiple interfaces or specify a class loader , use proxy #newproxyinstance . concode_field_sep PlaceHolder placeHolder concode_field_sep String getPackageName concode_elem_sep String getPackageName concode_elem_sep void initialize
T function ( Class < T > arg0 , InvocationHandler arg1 ) { checkNotNull ( arg1 ) ; checkArgument ( arg0 . isInterface ( ) , "srini_string" , arg0 ) ; Object loc0 = Proxy . newProxyInstance ( arg0 . getClassLoader ( ) , new Class < ? > [ ] { arg0 } , arg1 ) ; return arg0 . cast ( loc0 ) ; }