A good design personnel should dare to propose the new idea, moreover is willing to undertake the certain risk, when the new method is not suitable, use original method.
一个好的设计人员应该勇于提出新的想法,而且愿意承担一定的风险,当新的方法不适用时,就使用原来的方法。
Any method or attribute you reference will use the original copy you generate.
任何对方法或属性的引用都会使用所生成的原始副本。
This interceptor method can use the same signature as the original method, including returning the same value. Listing 3 shows what a source code version of this approach would look like.
这个拦截器(interceptor)方法可以使用与原来方法同样的签名,包括返回同样的值。
应用推荐