author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 16 Jan 2013 21:31:50 +0000 | |
branch | refactoring-vmdata |
changeset 1973 | 617e6a088dd1 |
parent 1880 | 27b932afa4a7 |
child 2069 | 75d40b7b986f |
permissions | -rw-r--r-- |
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
1 |
" |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
2 |
Copyright (c) 2010-2011 Jan Vrany, Jan Kurs & Marcel Hlopko, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
3 |
SWING Research Group, Czech Technical University |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
4 |
in Prague |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
5 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
6 |
Permission is hereby granted, free of charge, to any person |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
7 |
obtaining a copy of this software and associated documentation |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
8 |
files (the 'Software'), to deal in the Software without |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
9 |
restriction, including without limitation the rights to use, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
10 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
11 |
copies of the Software, and to permit persons to whom the |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
12 |
Software is furnished to do so, subject to the following |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
13 |
conditions: |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
14 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
15 |
The above copyright notice and this permission notice shall be |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
16 |
included in all copies or substantial portions of the Software. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
17 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
18 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
19 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
20 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
21 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
22 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
23 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
24 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
25 |
OTHER DEALINGS IN THE SOFTWARE. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
26 |
" |
752 | 27 |
"{ Package: 'stx:libjava/experiments' }" |
28 |
||
29 |
Object subclass:#NoReflectionObject |
|
30 |
instanceVariableNames:'' |
|
31 |
classVariableNames:'Instance' |
|
32 |
poolDictionaries:'' |
|
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
33 |
category:'Languages-Java-Experiments-Lookup' |
752 | 34 |
! |
35 |
||
36 |
!NoReflectionObject class methodsFor:'documentation'! |
|
37 |
||
1206
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
38 |
copyright |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
39 |
" |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
40 |
Copyright (c) 2010-2011 Jan Vrany, Jan Kurs & Marcel Hlopko, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
41 |
SWING Research Group, Czech Technical University |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
42 |
in Prague |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
43 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
44 |
Permission is hereby granted, free of charge, to any person |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
45 |
obtaining a copy of this software and associated documentation |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
46 |
files (the 'Software'), to deal in the Software without |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
47 |
restriction, including without limitation the rights to use, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
48 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
49 |
copies of the Software, and to permit persons to whom the |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
50 |
Software is furnished to do so, subject to the following |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
51 |
conditions: |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
52 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
53 |
The above copyright notice and this permission notice shall be |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
54 |
included in all copies or substantial portions of the Software. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
55 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
56 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
57 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
58 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
59 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
60 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
61 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
62 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
63 |
OTHER DEALINGS IN THE SOFTWARE. |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
64 |
|
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
65 |
" |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
66 |
! |
227911d49c24
interop-related classes moved to experiments - still experimental code
vranyj1
parents:
752
diff
changeset
|
67 |
|
752 | 68 |
documentation |
69 |
" |
|
70 |
Null Object for JavaObjectDictionary - RENAME, the name is stupid!! |
|
71 |
||
72 |
[author:] |
|
73 |
kursjan |
|
74 |
||
75 |
[instance variables:] |
|
76 |
||
77 |
[class variables:] |
|
78 |
||
79 |
[see also:] |
|
80 |
||
81 |
" |
|
82 |
! ! |
|
83 |
||
84 |
!NoReflectionObject class methodsFor:'instance creation'! |
|
85 |
||
86 |
instance |
|
87 |
Instance ifNil: [ Instance := self basicNew ]. |
|
88 |
^ Instance. |
|
89 |
||
90 |
"Created: / 09-01-2011 / 21:33:55 / Jan Kurs <kurs.jan@post.cz>" |
|
91 |
! |
|
92 |
||
93 |
new |
|
94 |
^ self instance. |
|
95 |
||
96 |
"Created: / 09-01-2011 / 21:33:55 / Jan Kurs <kurs.jan@post.cz>" |
|
97 |
! ! |
|
98 |
||
99 |
!NoReflectionObject methodsFor:'queries'! |
|
100 |
||
101 |
ifNil: block |
|
102 |
^ block value. |
|
103 |
||
104 |
"Created: / 17-01-2011 / 19:10:24 / kursjan <kursjan@fit.cvut.cz>" |
|
105 |
! |
|
106 |
||
107 |
includesBehavior: aClass |
|
108 |
^ false. |
|
109 |
||
110 |
"Created: / 09-01-2011 / 21:05:56 / Jan Kurs <kurs.jan@post.cz>" |
|
111 |
! |
|
112 |
||
113 |
isNil |
|
114 |
^ true |
|
115 |
||
116 |
"Created: / 17-01-2011 / 19:10:11 / kursjan <kursjan@fit.cvut.cz>" |
|
117 |
! |
|
118 |
||
119 |
methodDictionary |
|
120 |
^ MethodDictionary withAll: Dictionary new. |
|
121 |
||
122 |
"Created: / 17-01-2011 / 10:52:44 / kursjan <kursjan@fit.cvut.cz>" |
|
123 |
! |
|
124 |
||
125 |
superclass |
|
126 |
^ nil |
|
127 |
||
128 |
"Created: / 17-01-2011 / 10:53:15 / kursjan <kursjan@fit.cvut.cz>" |
|
129 |
! ! |
|
130 |
||
131 |
!NoReflectionObject class methodsFor:'documentation'! |
|
132 |
||
1880
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
133 |
version_HG |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
134 |
|
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
135 |
^ '$Changeset: <not expanded> $' |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
136 |
! |
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
137 |
|
752 | 138 |
version_SVN |
1880
27b932afa4a7
Refactored JavaCompiler (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1818
diff
changeset
|
139 |
^ '§Id§' |
752 | 140 |
! ! |