go top

rename method 添加释义

网络释义英英释义

  重命名方法

...重要的——改变了接口就改变了一切。 重构比较烦人的一点就是很多重构技术会要求对接口做出改变。像重命名方法(Rename Method)这么简单的重构其目的就是修改接口。那么这和大家引以为傲的封装概念有什么关系呢?

基于476个网页-相关网页

  重新命名函数

一:重新命名函数(Rename Method) 1:如果函数的名字未能揭示函数的用途:修改函数的名字

基于180个网页-相关网页

  函数改名

你可能希望对工厂函数使用Rename Method (函数改名),使其传达这样的信息:它返回的是一个既存对象。

基于131个网页-相关网页

Rename method

  • abstract: Rename Method is a refactoring that changes a name of a method into a new one, that better reveals its purpose.

以上来源于: WordNet

双语例句

  • If you would like to rename this method, a check of all classes in the inheritance hierarchy is needed to find all positions in the code which should be changed.

    如果你要重命名这个方法,必须检查继承层次中的所有类,以找到应该做出改变的所有位置。

    youdao

  • In addition to creating and destroying components, the host also handles component rename operations through the create method. The rename logic is simple, yet interesting.

    除了创建和销毁组件以外,宿主还可以通过创建方法来处理组件重命名操作。

    youdao

  • So when you want to rename a method or class, it's easy for the environment to find every use of it by pinpointing the location in the AST.

    因此,当需要重新命名一个方法或者类的时候,开发环境很容易通过在 AST 中精确定位找到方法或类被引用的每个地方。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定