You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/javaee/annotation/annotation-spring-aop/src/main/java/cn/edu/ntu/javaee/annotation/usage/before/proxy/ArithmeticCalculatorProxy.java
+37-37Lines changed: 37 additions & 37 deletions
Original file line number
Diff line number
Diff line change
@@ -46,41 +46,41 @@ public Object getProxy() {
46
46
}
47
47
48
48
// /** mock up Proxy work */
49
-
// class $Proxy0 extends Proxy implements ArithmeticCalculator {
50
-
//
51
-
// /**
52
-
// * Constructs a new {@code Proxy} instance from a subclass (typically, a dynamic proxy
53
-
// class)
54
-
// * with the specified value for its invocation handler.
55
-
// *
56
-
// * @param h the invocation handler for this proxy instance
57
-
// * @throws NullPointerException if the given invocation handler, {@code h}, is {@code
58
-
// null}.
59
-
// */
60
-
// protected $Proxy0(InvocationHandler h) {
61
-
// super(h);
62
-
// }
63
-
//
64
-
// private Method METHOD_NAME;
65
-
//
66
-
// @Override
67
-
// public int add(int a, int b) throws Throwable {
68
-
// return (int) h.invoke(this, METHOD_NAME, new Object[] {a, b});
0 commit comments