author | jv |
Thu, 23 Sep 2010 13:52:13 +0000 | |
changeset 748 | da0840b7798c |
parent 713 | 75e92ac63bf1 |
child 749 | e898eaeff091 |
permissions | -rw-r--r-- |
454 | 1 |
" |
2 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
||
14 |
||
713 | 15 |
"{ Package: 'stx:libjava' }" |
16 |
||
427 | 17 |
Array variableSubclass:#JavaLocalVariableTable |
103 | 18 |
instanceVariableNames:'' |
19 |
classVariableNames:'' |
|
20 |
poolDictionaries:'' |
|
713 | 21 |
category:'Languages-Java-Support' |
103 | 22 |
! |
23 |
||
454 | 24 |
!JavaLocalVariableTable class methodsFor:'documentation'! |
25 |
||
26 |
copyright |
|
27 |
" |
|
28 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
29 |
All Rights Reserved |
|
30 |
||
31 |
This software is furnished under a license and may be used |
|
32 |
only in accordance with the terms of that license and with the |
|
33 |
inclusion of the above copyright notice. This software may not |
|
34 |
be provided or otherwise made available to, or used by, any |
|
35 |
other person. No title to or ownership of the software is |
|
36 |
hereby transferred. |
|
37 |
" |
|
38 |
||
39 |
||
40 |
! ! |
|
103 | 41 |
|
42 |
!JavaLocalVariableTable methodsFor:'queries'! |
|
43 |
||
44 |
nameForSlot:slot atPC:pc |
|
255 | 45 |
|numEntryForSlot entryForSlot| |
46 |
||
47 |
numEntryForSlot := 0. |
|
48 |
self do:[:entry | |
|
49 |
entry slot == slot ifTrue:[ |
|
50 |
entry startPC <= pc ifTrue:[ |
|
51 |
entry endPC >= pc ifTrue:[ |
|
52 |
^ entry name |
|
53 |
] |
|
54 |
]. |
|
55 |
numEntryForSlot := numEntryForSlot + 1. |
|
56 |
entryForSlot := entry. |
|
57 |
] |
|
58 |
]. |
|
59 |
||
60 |
"/ not at this pc - but maybe the name is valid |
|
61 |
"/ for all of the methods lines ... |
|
62 |
||
63 |
numEntryForSlot == 1 ifTrue:[ |
|
64 |
^ entryForSlot name |
|
65 |
]. |
|
66 |
||
103 | 67 |
^ nil |
68 |
||
255 | 69 |
"Created: / 2.7.1996 / 11:30:09 / cg" |
70 |
"Modified: / 8.1.1998 / 18:56:20 / cg" |
|
103 | 71 |
! ! |
72 |
||
135 | 73 |
!JavaLocalVariableTable class methodsFor:'documentation'! |
103 | 74 |
|
75 |
version |
|
748
da0840b7798c
Manufactured by SVN::ImportFromCVSTask to fix repository layout
jv
parents:
713
diff
changeset
|
76 |
^ '$Id$' |
103 | 77 |
! ! |