Object(对象图标)
1.source folder (源文件夹)
source folder
2.package(包)
package
3.empty package(空包)
empty package
4.logical package(逻辑包)
logical package
5.empty logical package(空逻辑包)
empty logical package
6.package only containing non Java resources(仅包含非Java资源的包)
package only containing non Java resources
7.package declaration(包声明)
package declaration
8.import container(导入容器)
import container
9.import(导入)
import
10.class (public)(公共权限的类)
Class (public)
11.interface (public)(公共权限的接口)
Interface (public)
12.enum type (public)(公共权限的枚举类型)
Enum type (public)
13.annotation type (public)(公共权限的注解类型)
Annotation type (public)
14.package visible class(包可见权限的类)
package visible class
15.private class(私有访问权限的类)
private class
16.protected class(保护权限的类)
protected class
17.default field (package visible)(默认权限字段,包可见)
default field (package visible)
18.private field(私有字段)
private field
19.protected field(保护类型的字段)
protected field
20.public field(公共访问权限的字段)
public field
21.default method (package visible)(默认访问权限的方法,包可见)
default method (package visible)
22.private method(私有方法)
private method
23.protected method(保护类型的方法)
protected method
24.public method(公共权限的方法)
public method
Object adornments(修饰对象的图标)
1.marks project as Java project(标记项目类型为Java)
Java Overlay
2.constructor(构造函数)
Constructor Overlay
3.abstract member(抽象成员)
Abstract Overlay
4.final member(final类型成员)
Final Overlay
5.static member(静态类型成员)
Static overlay
6.synchronized member(同步的成员)
Synchronized Overlay
7.native method(原生方法)
Native Overlay
8.transient field(transient类型字段)
Transient Overlay
8.volatile field(volatile类型字段)
Volatile Overlay
9.implements method from interface(从接口实现的方法)
Implementor of interface overlay
10.overrides method from super class(从父类复写的方法)
Overrides Overlay
后记
学习这些常见的图标含义,有助于开发过程中理解项目大纲结构,比如:
eclipseIconEg.png
本文找到这些图标含义方法其实很简单,直接google搜“eclipse icon meaning”,一般在第一页就能找到stackoverflow的问题回答,然后可以直接得到开篇提到的官方文档,如:What do the icons in Eclipse mean? - Stack Overflow