下移方法 meaning in English
push down method
Examples
- Only once i ve finalized the organization of packages and finished refactoring methods - whether that be by extracting new methods from existing code , pulling up or pushing down methods in the hierarchy , or moving them to another class entirely - do i then review method visibility
只有当我最后定下了包的组织结构并完成了对方法的重构不管是通过从现有代码抽取出新方法、在层次结构中上移或下移方法还是将方法整个地移至其它类中我才会重新检查方法的可视性。