什么是eclipse中的星图标的方法? [英] What is a method with a star icon in eclipse?

查看:141
本文介绍了什么是eclipse中的星图标的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我经常在方法附近看到一个黄色的开始,在Eclipse Luna的智能代码完成中有一些比例:





这个明星和百分比是什么意思?

解决方案

星号和百分比均由智能代码完成



这些建议是基于类似情况的上下文和代码分析(数据挖掘)。这个百分比可能是对该建议的信心的一个迹象。






受保护的方法(这是Ted Hopp建议的解释实际上由一个带有圆角的黄色钻石表示,与大纲视图中的图标相似。


I often see a yellow start near the methods, and some percentage in Eclipse Luna's intelligent code completion:

What does this star and the percentage mean?

解决方案

Both the star and the percentage are added by the Intelligent Code Completion.

These suggestions are based on context and code analysis (data mined) of similar situations. The percentage is presumably an indication for the confidence of that suggestion.


Protected methods (which was the explanation suggested by Ted Hopp) are in fact indicated by a yellow diamond with rounded corners, similar to the icon in the outline view.

这篇关于什么是eclipse中的星图标的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆