Eclipse中方法的图标意味着什么? [英] What do the icons for methods in Eclipse mean?
问题描述
可能重复:
概述了Eclipse JDT中使用的所有图标。 此页解释了Java术语中不同访问级别的含义,以防您不熟悉。Possible Duplicate:
What do the icons in Eclipse mean?In the "Package Explorer" in the Eclipse IDE, I can click on a Java class and list all its methods. The methods are displayed with a few different icons before the name, including a green circle or a red square.
What do these icons mean? Is there a webpage that explains them?
解决方案Green circle indicates a public method
Red square indicates a private method
Yellow diamond indicates a protected method
Blue triangle indicates default (package visible) method
This page gives an overview of all the icons used in Eclipse JDT. This page explains what the different access levels mean in Java terms, in case you aren't familiar with that.
这篇关于Eclipse中方法的图标意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!