Eclipse中方法的图标意味着什么? [英] What do the icons for methods in Eclipse mean?

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

问题描述


可能重复:

概述了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屋!

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