Reduce useless Proxy: When the class has three private methods, but one of the methods matches the aspects expression, i think that the class should not be create the proxy object.
-
For the cglib proxy, the proxy bases on the extend mechanism, so the private and final can not be proxy;
-
For the JDK proxy, although the interface can allow the defalt method in the new JDK version, the interface can not allow the private or final to add the method.
Comment From: pivotal-cla
@wizard4wu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@wizard4wu Thank you for signing the Contributor License Agreement!