刚才代码没粘过来。
- new InvocationHandler() {
- @Override
- public Object invoke(Object proxy, Method method, Object[] args)
- throws Throwable {
- advice.out();
- Object retVal = method.invoke(target, args);
- return retVal;
- }
- });
复制代码
就是public Object invoke(Object proxy, Method method, Object[] args) 里面的Object第一个参数
|