The following features are supported:
1112131415161718192021
{ 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(); }