this.environment = environment;
}
public <T> T build(final Class<T> serviceType)
{
ClassInstantiator<T> instantiator = proxyFactory.createProxy(serviceType, new PlasticClassTransformer()
{
public void transform(PlasticClass plasticClass)
{
PlasticMethod delegateMethod = plasticClass.introducePrivateMethod(
PlasticUtils.toTypeName(serviceType), "delegate", null, null);