/* To make the proxy creator work with Eclipse plugins */
enhancer.setClassLoader(ProxyCreator.class.getClassLoader());
// Instantiate the proxied class
Objenesis objenesis = new ObjenesisStd();
proxy = objenesis.newInstance(proxiedClass);
return proxy;
}
private static Object createInterfaceProxy(Class<?> targetClass, InvocationHandler invocationHandler) {
return Proxy.newProxyInstance(Thread.currentThread().getContextClassLoader(),