|
@@ -52,13 +52,15 @@ class CglibCallback implements MethodInterceptor {
|
|
|
InterceptorCache.put(key, inters);
|
|
InterceptorCache.put(key, inters);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if (inters.length == 0) {
|
|
|
|
|
+ return methodProxy.invokeSuper(target, args);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
Invocation invocation = new Invocation(target, method, inters,
|
|
Invocation invocation = new Invocation(target, method, inters,
|
|
|
x -> {
|
|
x -> {
|
|
|
return methodProxy.invokeSuper(target, x);
|
|
return methodProxy.invokeSuper(target, x);
|
|
|
}
|
|
}
|
|
|
, args);
|
|
, args);
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
invocation.invoke();
|
|
invocation.invoke();
|
|
|
return invocation.getReturnValue();
|
|
return invocation.getReturnValue();
|
|
|
}
|
|
}
|