752
|
1 |
"
|
877
|
2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger
|
1152
|
3 |
|
1155
|
4 |
New code and modifications done at SWING Research Group [1]:
|
1152
|
5 |
|
877
|
6 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
|
|
7 |
SWING Research Group, Czech Technical University in Prague
|
|
8 |
|
752
|
9 |
This software is furnished under a license and may be used
|
|
10 |
only in accordance with the terms of that license and with the
|
|
11 |
inclusion of the above copyright notice. This software may not
|
|
12 |
be provided or otherwise made available to, or used by, any
|
|
13 |
other person. No title to or ownership of the software is
|
|
14 |
hereby transferred.
|
877
|
15 |
|
1155
|
16 |
[1] Code written at SWING Research Group contains a signature
|
|
17 |
of one of the above copright owners. For exact set of such code,
|
|
18 |
see the differences between this version and version stx:libjava
|
1152
|
19 |
as of 1.9.2010
|
752
|
20 |
"
|
|
21 |
"{ Package: 'stx:libjava' }"
|
|
22 |
|
|
23 |
Array variableSubclass:#JavaLocalVariableTable
|
|
24 |
instanceVariableNames:''
|
|
25 |
classVariableNames:''
|
|
26 |
poolDictionaries:''
|
|
27 |
category:'Languages-Java-Support'
|
|
28 |
!
|
|
29 |
|
|
30 |
!JavaLocalVariableTable class methodsFor:'documentation'!
|
|
31 |
|
|
32 |
copyright
|
|
33 |
"
|
877
|
34 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger
|
1152
|
35 |
|
1155
|
36 |
New code and modifications done at SWING Research Group [1]:
|
1152
|
37 |
|
877
|
38 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
|
|
39 |
SWING Research Group, Czech Technical University in Prague
|
|
40 |
|
752
|
41 |
This software is furnished under a license and may be used
|
|
42 |
only in accordance with the terms of that license and with the
|
|
43 |
inclusion of the above copyright notice. This software may not
|
|
44 |
be provided or otherwise made available to, or used by, any
|
|
45 |
other person. No title to or ownership of the software is
|
|
46 |
hereby transferred.
|
877
|
47 |
|
1155
|
48 |
[1] Code written at SWING Research Group contains a signature
|
|
49 |
of one of the above copright owners. For exact set of such code,
|
|
50 |
see the differences between this version and version stx:libjava
|
1152
|
51 |
as of 1.9.2010
|
877
|
52 |
|
|
53 |
"
|
752
|
54 |
! !
|
|
55 |
|
|
56 |
!JavaLocalVariableTable methodsFor:'queries'!
|
|
57 |
|
|
58 |
nameForSlot:slot atPC:pc
|
|
59 |
|numEntryForSlot entryForSlot|
|
|
60 |
|
|
61 |
numEntryForSlot := 0.
|
|
62 |
self do:[:entry |
|
|
63 |
entry slot == slot ifTrue:[
|
|
64 |
entry startPC <= pc ifTrue:[
|
|
65 |
entry endPC >= pc ifTrue:[
|
|
66 |
^ entry name
|
|
67 |
]
|
|
68 |
].
|
|
69 |
numEntryForSlot := numEntryForSlot + 1.
|
|
70 |
entryForSlot := entry.
|
|
71 |
]
|
|
72 |
].
|
|
73 |
|
|
74 |
"/ not at this pc - but maybe the name is valid
|
|
75 |
"/ for all of the methods lines ...
|
|
76 |
|
|
77 |
numEntryForSlot == 1 ifTrue:[
|
|
78 |
^ entryForSlot name
|
|
79 |
].
|
|
80 |
|
|
81 |
^ nil
|
|
82 |
|
|
83 |
"Created: / 2.7.1996 / 11:30:09 / cg"
|
|
84 |
"Modified: / 8.1.1998 / 18:56:20 / cg"
|
|
85 |
! !
|
|
86 |
|
|
87 |
!JavaLocalVariableTable class methodsFor:'documentation'!
|
|
88 |
|
|
89 |
version
|
1864
|
90 |
^ '$Header$'
|
|
91 |
!
|
|
92 |
|
|
93 |
version_HG
|
|
94 |
|
|
95 |
^ '$Changeset: <not expanded> $'
|
752
|
96 |
!
|
|
97 |
|
|
98 |
version_SVN
|
1864
|
99 |
^ '§Id§'
|
1152
|
100 |
! !
|