-
Notifications
You must be signed in to change notification settings - Fork 3
/
open_source_file.html
69 lines (49 loc) · 3.33 KB
/
open_source_file.html
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="DITA-OT" /><meta name="DC.type" content="reference" />
<meta name="DC.title" content="Open Source File" />
<meta name="abstract" content="Opens in the Eclipse IDE a Java source file associated with a class." />
<meta name="description" content="Opens in the Eclipse IDE a Java source file associated with a class." />
<meta name="copyright" content="Copyright (c) 2023 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ " type="primary" />
<meta name="DC.rights.owner" content="Copyright (c) 2023 IBM Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ " type="primary" />
<meta name="DC.format" content="XHTML" />
<meta name="DC.identifier" content="ref_inspections_open_source_file" />
<meta name="DC.language" content="en-us" />
<link rel="stylesheet" type="text/css" href="../../styles/commonltr.css" />
<title>Open Source File</title>
</head>
<body id="ref_inspections_open_source_file">
<h1 class="title topictitle1" id="ariaid-title1">Open Source File</h1>
<div class="body refbody"><p class="shortdesc">Opens in the Eclipse IDE a Java source file associated with a class.
</p>
<div class="section"><h2 class="title sectiontitle">Motivation</h2>
If Memory Analyzer is installed into the Eclipse IDE, then the Eclipse IDE might
have a workspace containing Java source files associated with classes in the snapshot.
This query goes from the class in the snapshot and opens the source file of interest.
</div>
<div class="section"><h2 class="title sectiontitle">Arguments</h2>
<table cellpadding="4" cellspacing="0" summary="" border="1" class="simpletable"><col style="width:50%" /><col style="width:50%" /><thead><tr class="sthead">
<th style="vertical-align:bottom;text-align:left;" id="d18187e44" class="stentry">Argument</th>
<th style="vertical-align:bottom;text-align:left;" id="d18187e47" class="stentry">Description</th>
</tr>
</thead><tbody><tr class="strow">
<td style="vertical-align:top;" headers="d18187e44" class="stentry">None</td>
<td style="vertical-align:top;" headers="d18187e47" class="stentry">No arguments, but the query must be operated on
a single class or object or on a method in a stack trace
in the snapshot.
</td>
</tr>
</tbody></table>
</div>
<div class="section" id="ref_inspections_open_source_file__result"><h2 class="title sectiontitle">Result</h2>
<p class="p">If the class is present in the Eclipse IDE workspace then the editor will be opened on the class.
If not, then an error message such as <samp class="ph msgph">Type java.lang.Thread not found in workspace</samp>
appears in a dialog.
</p>
</div>
</div>
</body>
</html>