- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
@SuppressWarnings("unchecked") public <T> T createDelegator(Object source, Class<T> apiInterface, Map<String, Object> extraFields) { return (T) Proxy.newProxyInstance( apiInterface.getClassLoader(), new Class[] { apiInterface }, new DelegateInvocationHandler(source, extraFields)); }
new Class[] { apiInterface }, new DelegateInvocationHandler(source, extraFields));
new Class[] { apiInterface }, new DelegateInvocationHandler(source, extraFields));
new Class[] { apiInterface }, new DelegateInvocationHandler(source, extraFields));
@SuppressWarnings("unchecked") public <T> T createDelegator(Object source, Class<T> apiInterface, Map<String, Object> extraFields) { return (T) Proxy.newProxyInstance( apiInterface.getClassLoader(), new Class[] { apiInterface }, new DelegateInvocationHandler(source, extraFields)); }