{
public static void main(String[] args)
{
TargetObject obj = new TargetObject();
ITargetObject targObject = (ITargetObject)Proxy.newProxyInstance(TargetObject.class.getClassLoader(),
new Class<?>[]{ITargetObject.class}, new TargetObjectProxy<TargetObject>(obj));
targObject.boringMethod();
}