当前位置:首页 » 翻译 
  • 匿名
关注:1 2013-05-23 12:21

求翻译:For example, you want to ensure that a particular variable in your program is never assigned to null; you want to avoid triggering a NullPointerException. You can write a custom plug-in to check for this. You would then modify your code to annotate that particular variable, indicating that it is never assigned to null.是什么意思?

待解决 悬赏分:1 - 离问题结束还有
For example, you want to ensure that a particular variable in your program is never assigned to null; you want to avoid triggering a NullPointerException. You can write a custom plug-in to check for this. You would then modify your code to annotate that particular variable, indicating that it is never assigned to null.
问题补充:

  • 匿名
2013-05-23 12:21:38
例如,你要确保你的程序的特定变量从未赋值为null ;
  • 匿名
2013-05-23 12:23:18
正在翻译,请等待...
  • 匿名
2013-05-23 12:24:58
例如,您想要保证特殊可变物在您的节目从未被分配到零位; 您想要避免触发NullPointerException。 您能给检查写风俗插入对于此。 您然后会修改您的代码附注那特殊可变物,表明它从未被分配到零位。 易变的声明如下所示: :
  • 匿名
2013-05-23 12:26:38
例如,你想要确保您的程序中的一个特定变量从未分配给空;您想要避免触发 NullPointerException。您可以编写自定义插件,为此检查。然后将修改您的代码以添加批注该特定的变量,它从来没有被分配为空值,该值指示。变量声明可能如下所示:
  • 匿名
2013-05-23 12:28:18
例如,你想确保不在你的程序中的一个特别的变量被分配给空;你想避免触发一 NullPointerException。你为了这可以写给检查一个自定义插件。你然后会修改你的代码给那个特别的变量作注解,表示不被分配给空。可变的宣布可能好象是这:
 
 
网站首页

湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区

 
关 闭