原文地址:https://www.cnblogs.com/widget90/p/7592507.htmlhtml
Eclipse 各類小圖標的含義,記錄一下。java
Eclipse的Package Explorer和Outline中用圖標表示了不少內容,其實能看懂這些圖標在編程中也是頗有用的。express
綠色的小圓表示公有類型:若是是實心的就是函數(),若是是圈就表示是變量(
)。
紅色的矩形表示私有類型:若是是實心的就是函數(),若是是空心就表示是變量(
)。
保護類與保護函數用的是黃色的菱形:大菱形表示是函數(),小菱形表示是變量(
)。編程
若是有一個向上的小三角就表示這是個函數,而且會拋出異常。()
若是有一個相似表型的圓圈就表示該變量或函數是synchronized(線程同步)。()eclipse
若是小圖標出現一個C,就表示這是構造函數()。
若是小圖標出現一個A,就表示這是抽象函數(abstract)()。
若是小圖標出現一個F,就表示這是抽象函數(final)。()
若是小圖標出現一個S,就表示這是靜態函數(static)()jsp
類的圖標是一個大C,表示一個類(),若是帶一個放音鍵似的三角,那就表明這個類是存在main函數的類(
)ide
![]() |
compilation unit (*.java file) |
![]() |
Java file which is not on a build path |
![]() |
class file |
![]() |
generic file (unknown content type) |
![]() |
unknown object |
![]() |
Java scrapbook page (*.jpage file) |
![]() |
Java scrapbook page (evaluation in progress) |
![]() |
JAR description file |
![]() |
JUnit test result file |
![]() |
Java working set |
![]() |
Java model |
![]() |
library container |
![]() |
JAR file with attached source |
![]() |
JAR file without attached source |
![]() |
class folder with attached source |
![]() |
class folder without attached source |
![]() |
source folder |
![]() |
package |
![]() |
empty package |
![]() |
logical package |
![]() |
empty logical package |
![]() |
package only containing non Java resources |
![]() |
package declaration |
![]() |
import container |
![]() |
import |
![]() |
class (public) |
![]() |
interface (public) |
![]() |
enum type (public) |
![]() |
annotation type (public) |
![]() |
package visible class |
![]() |
private class |
![]() |
protected class |
![]() |
default field (package visible) |
![]() |
private field |
![]() |
protected field |
![]() |
public field |
![]() |
default method (package visible) |
![]() |
private method |
![]() |
protected method |
![]() |
public method |
![]() |
marks project as Java project |
![]() |
decorates files and folders if they are on the build path of their enclosing Java project |
![]() |
decorates Java projects and working sets that contain build path errors |
![]() |
this Java element causes an error |
![]() |
this Java element causes a warning |
![]() |
this Java element is deprecated |
![]() |
constructor |
![]() |
abstract member |
![]() |
final member |
![]() |
static member |
![]() |
default method |
![]() |
synchronized member |
![]() |
native method |
![]() |
transient field |
![]() |
volatile field |
![]() |
type with public static void main(String[] args) |
![]() |
implements method |
![]() |
overrides method |
![]() |
type with focus in Type Hierarchy or Quick Outline/Hierarchy |
![]() |
maximal expansion level in Call Hierarchy |
![]() |
recursive call in Call Hierarchy |
![]() |
compilation unit containing an abstract class as primary type |
![]() |
compilation unit containing an interface as primary type |
![]() |
compilation unit containing an enum as primary type |
![]() |
compilation unit containing an annotation as primary type |
![]() |
class path variable |
![]() |
JAR with attached source |
![]() |
JAR without attached source |
![]() |
system library |
![]() |
build path ordering |
![]() |
inclusion filter |
![]() |
exclusion filter |
![]() |
access rules |
![]() |
Javadoc location |
![]() |
source attachment |
![]() |
native library location |
![]() |
output folder |
![]() |
HTML tag |
![]() |
Javadoc tag |
![]() |
local variable |
![]() |
template |
![]() |
SWT template |
![]() |
field |
![]() |
method |
![]() |
debug launch |
![]() |
run launch |
![]() |
terminated run launch |
![]() |
process |
![]() |
terminated process |
![]() |
debug target |
![]() |
suspended debug target |
![]() |
terminated debug target |
![]() |
thread |
![]() |
suspended thread |
![]() |
stack frame |
![]() |
running stack frame |
![]() |
adornment that marks a stack frame that may be out of synch with the target VM as a result of an unsuccessful hot code replace |
![]() |
adornment that marks a stack frame that is out of synch with the target VM as a result of an unsuccessful hot code replace |
![]() |
inspected object or primitive value |
![]() |
watch expression |
![]() |
local variable |
![]() |
monitor |
![]() |
a monitor in contention |
![]() |
a thread in contention for a monitor |
![]() |
a monitor that is owned by a thread |
![]() |
a thread that owns a monitor |
![]() |
current instruction pointer (top of stack) |
![]() |
current instruction pointer |
![]() |
enabled line breakpoint |
![]() |
disabled line breakpoint |
![]() |
adornment that marks a breakpoint as skipped |
![]() |
adornment that marks a line breakpoint as installed |
![]() |
adornment that marks a breakpoint as conditional |
![]() |
adornment that marks an entry method breakpoint |
![]() |
adornment that marks an exit method breakpoint |
![]() |
field access watchpoint |
![]() |
field modification watchpoint |
![]() |
field access and modification watchpoint |
![]() |
adornment that marks a watchpoint as installed |
![]() |
exception breakpoint |
![]() |
runtime exception breakpoint |
![]() |
disabled exception breakpoint |
![]() |
adornment that marks an exception breakpoint as caught |
![]() |
adornment that marks an exception breakpoint as uncaught |
![]() |
adornment that marks an exception breakpoint as scoped |
![]() |
adornment that marks an exception breakpoint as installed |
![]() |
implements |
![]() |
overrides |
![]() |
quick assist available |
![]() |
search match |
![]() |
test |
![]() |
currently running test |
![]() |
successful test |
![]() |
failing test |
![]() |
test throwing an exception |
![]() |
ignored test |
![]() |
test with an assumption failure |
![]() |
test suite |
![]() |
currently running test suite |
![]() |
successfully completed test suite |
![]() |
test suite with failing test |
![]() |
test suite with exception throwing test |
![]() |
caught exception |
![]() |
stack frame element |
![]() |
skipped NLS key |
![]() |
translated NLS key |
![]() |
untranslated NLS key |
![]() |
quick fixable error |
![]() |
quick fixable warning |
![]() |
add |
![]() |
change |
![]() |
change cast |
![]() |
fix multiple problems |
![]() |
move to another package |
![]() |
remove |
![]() |
remove import |
![]() |
rename |
![]() |
rename in file |
![]() |
surround with try/catch |
![]() |
general change |
![]() |
composite change |
![]() |
text change |
![]() |
file change |
![]() |
Stop error |
![]() |
Error |
![]() |
Warning |
![]() |
Information |
![]() |
Change filter |
![]() |
Java Search |
![]() |
search for declarations |
![]() |
search for references |
![]() |
a general match |
![]() |
read access to local or field |
![]() |
write access to local or field |
![]() |
type outside of selected package |
![]() |
interface outside of selected package |