转:Eclipse 各种小图标的含义

原文地址:https://www.cnblogs.com/widget90/p/7592507.html

Eclipse 各种小图标的含义,记录一下。

 

Eclipse的Package Explorer和Outline中用图标表示了很多内容,其实能看懂这些图标在编程中也是很有用的。

      绿色的小圆表示公有类型:如果是实心的就是函数(),如果是圈就表示是变量()。
      红色的矩形表示私有类型:如果是实心的就是函数(),如果是空心就表示是变量()。
      保护类与保护函数用的是黄色的菱形:大菱形表示是函数(),小菱形表示是变量()。

      如果有一个向上的小三角就表示这是个函数,并且会抛出异常。(
      如果有一个类似表型的圆圈就表示该变量或函数是synchronized(线程同步)。(

      如果小图标出现一个C,就表示这是构造函数()。
      如果小图标出现一个A,就表示这是抽象函数(abstract)()。
      如果小图标出现一个F,就表示这是抽象函数(final)。(
      如果小图标出现一个S,就表示这是静态函数(static)(

      类的图标是一个大C,表示一个类(),如果带一个放音键似的三角,那就代表这个类是存在main函数的类(

 

http://help.eclipse.org/neon/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-icons.htm

Objects

Compilation Unit (*.java file) compilation unit (*.java file)
File ending with .java Java file which is not on a build path
class file class file
generic file (unknown content type) generic file (unknown content type)
unknown object unknown object
Java scrapbook page (*.jpage file) Java scrapbook page (*.jpage file)
Java scrapbook page (evaluation in progress) Java scrapbook page (evaluation in progress)
JAR description file JAR description file
JUnit test result file JUnit test result file
 
Java working set Java working set
Java model Java model
Library container library container
JAR file with attached source JAR file with attached source
JAR file without attached source JAR file without attached source
Class folder with attached source class folder with attached source
Class folder without attached source class folder without attached source
source folder source folder
package package
empty package empty package
logical package logical package
empty logical package empty logical package
package only containing non Java resources package only containing non Java resources
 
package declaration package declaration
import container import container
import import
 
Class (public) class (public)
Interface (public) interface (public)
Enum type (public) enum type (public)
Annotation type (public) annotation type (public)
 
package visible class package visible class
private class private class
protected class protected class
 
default field (package visible) default field (package visible)
private field private field
protected field protected field
public field public field
 
default method (package visible) default method (package visible)
private method private method
protected method protected method
public method public method

 

Object adornments

Java Overlay marks project as Java project
Java Overlay decorates files and folders if they are on the build path of their enclosing Java project
 
build path error decorator decorates Java projects and working sets that contain build path errors
Abstract Overlay this Java element causes an error
Warning Overlay this Java element causes a warning
Deprecation Overlay this Java element is deprecated
 
Constructor Overlay constructor
Abstract Overlay abstract member
Final Overlay final member
Static overlay static member
Default overlay default method
Synchronized Overlay synchronized member
Native Overlay native method
Transient Overlay transient field
Volatile Overlay volatile field
Run Overlay type with
public static void main(String[] args)
 
Implementor overlay implements method
Overrides Overlay overrides method
 
Focus Overlay type with focus in Type Hierarchy or Quick Outline/Hierarchy
Maximal Expansion Overlay maximal expansion level in Call Hierarchy
Recursive Overlay recursive call in Call Hierarchy
 
Abstract Compilation Unit compilation unit containing an abstract class as primary type
Interface Compilation Unit compilation unit containing an interface as primary type
Enum Compilation Unit compilation unit containing an enum as primary type
Annotation Compilation Unit compilation unit containing an annotation as primary type

 

Build path

class path variable class path variable
JAR with attached source JAR with attached source
JAR without attached source JAR without attached source
system library system library
build path ordering build path ordering
 
inclusion filter inclusion filter
exclusion filter exclusion filter
access rules access rules
Javadoc location Javadoc location
source attachment source attachment
native library location native library location
output folder output folder

 

Code assist

HTML tag HTML tag
Javadoc tag Javadoc tag
local variable local variable
template template
SWT template SWT template

 

Compare

field field
method method

 

Debugger

debug launch debug launch
run launch run launch
terminated run launch terminated run launch
process process
terminated process terminated process
debug target debug target
suspended debug target suspended debug target
terminated debug target terminated debug target
 
thread thread
suspended thread suspended thread
stack frame stack frame
running 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 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  adornment that marks a stack frame that is out of synch with the target VM as a result of an unsuccessful hot code replace
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 inspected object or primitive value
evaluated expression watch expression
local variable local variable
 
monitor monitor
a monitor in contention a monitor in contention
in thread in contention for a monitor a thread in contention for a monitor
a monitor that is owned by a thread a monitor that is owned by a thread
a thread that owns a monitor a thread that owns a monitor
 
current instruction pointer (top of stack) current instruction pointer (top of stack)
current instruction pointer current instruction pointer
 
enabled line breakpoint enabled line breakpoint
disabled line breakpoint disabled line breakpoint
adornment that marks a breakpoint as skipped adornment that marks a breakpoint as skipped
adornment that marks a line breakpoint as installed adornment that marks a line breakpoint as installed
adornment that marks a breakpoint as conditional adornment that marks a breakpoint as conditional
adornment that marks an entry method breakpoint adornment that marks an entry method breakpoint
adornment that marks an exit method breakpoint adornment that marks an exit method breakpoint
 
field access watchpoint field access watchpoint
field modification watchpoint field modification watchpoint
field access and modification watchpoint field access and modification watchpoint
adornment that marks a watchpoint as installed adornment that marks a watchpoint as installed
 
exception breakpoint exception breakpoint
runtime exception breakpoint runtime exception breakpoint
disabled exception breakpoint disabled exception breakpoint
adornment that marks an exception breakpoint as caught adornment that marks an exception breakpoint as caught
adornment that marks an exception breakpoint as uncaught adornment that marks an exception breakpoint as uncaught
adornment that marks an exception breakpoint as scoped adornment that marks an exception breakpoint as scoped
adornment that marks an exception breakpoint as installed adornment that marks an exception breakpoint as installed

 

Editor

implements implements
overrides overrides
quick assist available quick assist available
search match search match

 

JUnit

test test
currently running test currently running test
successful test successful test
failing test failing test
test throwing an exception test throwing an exception
ignored test ignored test
test with an assumption failure test with an assumption failure
 
test suite test suite
currently running test suite currently running test suite
successfully completed test suite successfully completed test suite
test suite with failing test test suite with failing test
test suite with exception throwing test test suite with exception throwing test
 
caught exception caught exception
stack frame element stack frame element

 

NLS tools

skipped NLS key skipped NLS key
translated NLS key translated NLS key
untranslated NLS key untranslated NLS key

 

Quick fix

quick fixable error quick fixable error
quick fixable warning quick fixable warning
 
add add
change change
change cast change cast
fix multiple problems fix multiple problems
move to another package move to another package
remove remove
remove import remove import
rename rename
rename in file rename in file
surround with try/catch surround with try/catch

 

Refactoring

general change general change
composite change composite change
text change text change
file change file change
Stop error Stop error
Error Error
Warning Warning
Information Information
Information Change filter

 

Search

Java Search Java Search
search for declarations search for declarations
search for references search for references

 

Search - Occurrences in File

general match a general match
read access to local or field read access to local or field
write access to local or field write access to local or field

 

Type Hierarchy view

 

 

type outside of selected package type outside of selected package
interface outside of selected package interface outside of selected package
posted @ 2018-10-11 11:27  mumu122  阅读(512)  评论(0编辑  收藏  举报