Eclipse 各种小图标的含义

 从其他地方抄录总结一下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 .javaJava file which is not on a build path
class fileclass file
generic file (unknown content type)generic file (unknown content type)
unknown objectunknown 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 fileJAR description file
JUnit test result fileJUnit test result file
 
Java working setJava working set
Java modelJava model
Library containerlibrary container
JAR file with attached sourceJAR file with attached source
JAR file without attached sourceJAR file without attached source
Class folder with attached sourceclass folder with attached source
Class folder without attached sourceclass folder without attached source
source foldersource folder
packagepackage
empty packageempty package
logical packagelogical package
empty logical packageempty logical package
package only containing non Java resourcespackage only containing non Java resources
 
package declarationpackage declaration
import containerimport container
importimport
 
Class (public)class (public)
Interface (public)interface (public)
Enum type (public)enum type (public)
Annotation type (public)annotation type (public)
 
package visible classpackage visible class
private classprivate class
protected classprotected class
 
default field (package visible)default field (package visible)
private fieldprivate field
protected fieldprotected field
public fieldpublic field
 
default method (package visible)default method (package visible)
private methodprivate method
protected methodprotected method
public methodpublic method

 

Object adornments

Java Overlaymarks project as Java project
Java Overlaydecorates files and folders if they are on the build path of their enclosing Java project
 
build path error decoratordecorates Java projects and working sets that contain build path errors
Abstract Overlaythis Java element causes an error
Warning Overlaythis Java element causes a warning
Deprecation Overlaythis Java element is deprecated
 
Constructor Overlayconstructor
Abstract Overlayabstract member
Final Overlayfinal member
Static overlaystatic member
Default overlaydefault method
Synchronized Overlaysynchronized member
Native Overlaynative method
Transient Overlaytransient field
Volatile Overlayvolatile field
Run Overlaytype with
public static void main(String[] args)
 
Implementor overlayimplements method
Overrides Overlayoverrides method
 
Focus Overlaytype with focus in Type Hierarchy or Quick Outline/Hierarchy
Maximal Expansion Overlaymaximal expansion level in Call Hierarchy
Recursive Overlayrecursive call in Call Hierarchy
 
Abstract Compilation Unitcompilation unit containing an abstract class as primary type
Interface Compilation Unitcompilation unit containing an interface as primary type
Enum Compilation Unitcompilation unit containing an enum as primary type
Annotation Compilation Unitcompilation unit containing an annotation as primary type

 

Build path

class path variableclass path variable
JAR with attached sourceJAR with attached source
JAR without attached sourceJAR without attached source
system librarysystem library
build path orderingbuild path ordering
 
inclusion filterinclusion filter
exclusion filterexclusion filter
access rulesaccess rules
Javadoc locationJavadoc location
source attachmentsource attachment
native library locationnative library location
output folderoutput folder

 

Code assist

HTML tagHTML tag
Javadoc tagJavadoc tag
local variablelocal variable
templatetemplate
SWT templateSWT template

 

Compare

fieldfield
methodmethod

 

Debugger

debug launchdebug launch
run launchrun launch
terminated run launchterminated run launch
processprocess
terminated processterminated process
debug targetdebug target
suspended debug targetsuspended debug target
terminated debug targetterminated debug target
 
threadthread
suspended threadsuspended thread
stack framestack frame
running stack framerunning 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 replaceinspected object or primitive value
evaluated expressionwatch expression
local variablelocal variable
 
monitormonitor
a monitor in contentiona monitor in contention
in thread in contention for a monitora thread in contention for a monitor
a monitor that is owned by a threada monitor that is owned by a thread
a thread that owns a monitora thread that owns a monitor
 
current instruction pointer (top of stack)current instruction pointer (top of stack)
current instruction pointercurrent instruction pointer
 
enabled line breakpointenabled line breakpoint
disabled line breakpointdisabled line breakpoint
adornment that marks a breakpoint as skippedadornment that marks a breakpoint as skipped
adornment that marks a line breakpoint as installedadornment that marks a line breakpoint as installed
adornment that marks a breakpoint as conditionaladornment that marks a breakpoint as conditional
adornment that marks an entry method breakpointadornment that marks an entry method breakpoint
adornment that marks an exit method breakpointadornment that marks an exit method breakpoint
 
field access watchpointfield access watchpoint
field modification watchpointfield modification watchpoint
field access and modification watchpointfield access and modification watchpoint
adornment that marks a watchpoint as installedadornment that marks a watchpoint as installed
 
exception breakpointexception breakpoint
runtime exception breakpointruntime exception breakpoint
disabled exception breakpointdisabled exception breakpoint
adornment that marks an exception breakpoint as caughtadornment that marks an exception breakpoint as caught
adornment that marks an exception breakpoint as uncaughtadornment that marks an exception breakpoint as uncaught
adornment that marks an exception breakpoint as scopedadornment that marks an exception breakpoint as scoped
adornment that marks an exception breakpoint as installedadornment that marks an exception breakpoint as installed

 

Editor

implementsimplements
overridesoverrides
quick assist availablequick assist available
search matchsearch match

 

JUnit

testtest
currently running testcurrently running test
successful testsuccessful test
failing testfailing test
test throwing an exceptiontest throwing an exception
ignored testignored test
test with an assumption failuretest with an assumption failure
 
test suitetest suite
currently running test suitecurrently running test suite
successfully completed test suitesuccessfully completed test suite
test suite with failing testtest suite with failing test
test suite with exception throwing testtest suite with exception throwing test
 
caught exceptioncaught exception
stack frame elementstack frame element

 

NLS tools

skipped NLS keyskipped NLS key
translated NLS keytranslated NLS key
untranslated NLS keyuntranslated NLS key

 

Quick fix

quick fixable errorquick fixable error
quick fixable warningquick fixable warning
 
addadd
changechange
change castchange cast
fix multiple problemsfix multiple problems
move to another packagemove to another package
removeremove
remove importremove import
renamerename
rename in filerename in file
surround with try/catchsurround with try/catch

 

Refactoring

general changegeneral change
composite changecomposite change
text changetext change
file changefile change
Stop errorStop error
ErrorError
WarningWarning
InformationInformation
InformationChange filter

 

Search

Java SearchJava Search
search for declarationssearch for declarations
search for referencessearch for references

 

Search - Occurrences in File

general matcha general match
read access to local or fieldread access to local or field
write access to local or fieldwrite access to local or field

 

Type Hierarchy view

 

type outside of selected packagetype outside of selected package
interface outside of selected packageinterface outside of selected package

转载于:https://www.cnblogs.com/widget90/p/7592507.html

  • 3
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值