{
implementedInterfaces = (Class[])
ArrayUtil.newArray( STATS_IMPL_INTERFACES, statsInterface );
}
final StatsImpl impl = createStatsImpl();
final ClassLoader classLoader = this.getClass().getClassLoader();
final Stats stats = (Stats)
Proxy.newProxyInstance( classLoader, implementedInterfaces, impl );