您的位置:首页 > 编程语言 > Java开发

Eclipse IDE中 各种小图标的含义

2018-01-18 16:00 239 查看
from : https://www.cnblogs.com/widget90/p/7592507.html

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)

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
 

Object adornments


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
 

Build path


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
 

Code assist


HTML tag

Javadoc tag

local variable

template

SWT template
 

Compare


field

method
 

Debugger


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
 

Editor


implements

overrides

quick assist available

search match
 

JUnit


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
 

NLS tools


skipped NLS key

translated NLS key

untranslated NLS key
 

Quick fix


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
 

Refactoring


general change

composite change

text change

file change

Stop error

Error

Warning

Information

Change filter
 

Search


Java Search

search for declarations

search for references
 

Search - Occurrences in File


a general match

read access to local or field

write access to local or field
 

Type Hierarchy view

 

type outside of selected package

interface outside of selected package
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: