-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconcept-java-search.htm
More file actions
168 lines (153 loc) · 4.05 KB
/
concept-java-search.htm
File metadata and controls
168 lines (153 loc) · 4.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta name="copyright" content=
"Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
<meta charset="utf-8">
<link rel="stylesheet" href="../book.css" type="text/css" />
<title>
Java Search
</title>
</head>
<body>
<h1>
Java Search
</h1>
<p>
<span>The Java searching support allows you to find declarations, references and occurrences
of Java elements (packages, types, methods, fields). Searching is supported by an index that
is kept up to date in the background as the resources corresponding to Java elements are
changed. The Java search operates on workspaces independent of their build state. For
example, searches can be conducted when auto-build is turned off.</span>
</p>
<p>
The following searches can be initiated from the pop-up menus of Java elements or from the
Java search dialog:
</p>
<table class="border">
<caption>Java search actions</caption>
<thead>
<tr>
<td>
<p>
<span class="control">Command</span>
</p>
</td>
<td>
<p>
<span class="control">Description</span>
</p>
</td>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>
References
</p>
</td>
<td>
<p>
Finds all references to the selected Java element
</p>
</td>
</tr>
<tr>
<td>
<p>
Declarations
</p>
</td>
<td>
<p>
Finds all declarations of the selected Java element
</p>
</td>
</tr>
<tr>
<td>
<p>
Implementors
</p>
</td>
<td>
<p>
Finds all implementors of the selected Java interface
</p>
</td>
</tr>
<tr>
<td>
<p>
Read access
</p>
</td>
<td>
<p>
Finds all read accesses to the selected Java field
</p>
</td>
</tr>
<tr>
<td>
<p>
Write access
</p>
</td>
<td>
<p>
Finds all write accesses to the selected Java field
</p>
</td>
</tr>
<tr>
<td>
<p>
Match locations for type references
</p>
</td>
<td>
<p>
Finds all type references at specified locations (in casts, as field type, ...)
</p>
</td>
</tr>
<tr>
<td>
<p>
Occurrences in File
</p>
</td>
<td>
<p>
Finds all occurrences of the selected Java element in its file
</p>
</td>
</tr>
</tbody>
</table>
<p>
The scope of the search is defined as:
</p>
<p>
<span class="control">Workspace</span> - all projects and files in the workspace are included
in this search
</p>
<p>
<span class="control">Enclosing Projects</span> - the projects enclosing the currently
selected elements
</p>
<p>
<span class="control">Hierarchy</span> - only the type hierarchy of the selected element is
included in this search
</p>
<p>
<span class="control">Working Set</span> - only resources that belong to the chosen working
set are included in this search
</p>
<h3 class="related">Related References</h3>
<a href="../reference/ref-menu-search.htm">Search actions</a><br />
<a href="../reference/ref-dialog-java-search.htm">Java search tab</a>
</body>
</html>