What is the star icon method in eclipse?

I often see a yellow beginning next to the methods, and a certain percentage in the completion of the Eclipse Luna smart code:

enter image description here

What does this star and percentage mean?

+6
source share
2 answers

Both star and percentage are added using Intelligent Code Completion .

These sentences are based on the analysis of context and code (data is mined) of similar situations. Percentage is probably an indicator of confidence in this assumption.


Protected methods (which were the explanation suggested by Ted Hopp) are actually indicated by a yellow diamond with rounded corners, similar to an outline icon.

+9
source

From the Eclipse Luna documentation , this means that it is a protected method.

+1
source

Source: https://habr.com/ru/post/977391/


All Articles