author | vranyj1 |
Sun, 01 Jan 2012 17:03:10 +0000 | |
branch | jk_new_structure |
changeset 1332 | a2e2c13b0ff6 |
parent 1328 | 06e2e372ebb0 |
child 1336 | 5f651f3589d9 |
permissions | -rw-r--r-- |
752 | 1 |
"{ Package: 'stx:libjava' }" |
2 |
||
3 |
! |
|
4 |
||
5 |
!BooleanArray methodsFor:'queries'! |
|
6 |
||
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
7 |
isInterface |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
8 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
9 |
^false |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
10 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
11 |
"Created: / 31-05-2011 / 16:07:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
12 |
! ! |
1032 | 13 |
!CharacterArray methodsFor:'java conversions'! |
14 |
||
1061 | 15 |
asDottedJavaClassName |
16 |
||
17 |
" |
|
18 |
examples: |
|
1159 | 19 |
java.lang.String |
1061 | 20 |
[[[Ljava/lang/Object; => java.lang.Object |
21 |
" |
|
22 |
||
23 |
||
24 |
| nm | |
|
25 |
nm := self asJavaComponentClassName. |
|
26 |
(nm startsWith: $L) ifTrue: [ |
|
1159 | 27 |
nm := nm copyFrom: 2 to: nm size - 1 |
1061 | 28 |
]. |
29 |
(nm includes: $/) ifTrue: [ |
|
1159 | 30 |
nm := nm asString copyReplaceAll: $/ with: $. |
1061 | 31 |
]. |
32 |
^ nm. |
|
33 |
||
34 |
"Created: / 21-10-2011 / 12:31:51 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
35 |
"Created: / 30-10-2011 / 17:41:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
36 |
! ! |
|
37 |
!CharacterArray methodsFor:'java conversions'! |
|
38 |
||
1036 | 39 |
asInternalJavaClassName |
1060 | 40 |
|
41 |
<resource: #obsolete> |
|
42 |
||
43 |
^self asSlashedJavaClassName |
|
1036 | 44 |
|
45 |
"Created: / 21-10-2011 / 12:31:51 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
1060 | 46 |
"Modified: / 30-10-2011 / 17:40:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1036 | 47 |
! ! |
48 |
!CharacterArray methodsFor:'java conversions'! |
|
49 |
||
1032 | 50 |
asJavaComponentClassName |
51 |
| componentClassName | |
|
52 |
||
53 |
componentClassName := self utf8Encoded. |
|
54 |
(componentClassName matches: '*\[*') ifTrue: [ |
|
1159 | 55 |
componentClassName := componentClassName |
56 |
copyFrom: (componentClassName lastIndexOf: $[) + 1 |
|
57 |
to: componentClassName size. |
|
58 |
]. |
|
1032 | 59 |
^ componentClassName. |
60 |
! ! |
|
61 |
!CharacterArray methodsFor:'java conversions'! |
|
62 |
||
1036 | 63 |
asJavaishClassName |
1060 | 64 |
|
65 |
<resource: #obsolete> |
|
66 |
||
67 |
^self asDottedJavaClassName. |
|
1036 | 68 |
|
69 |
"Created: / 21-10-2011 / 12:33:01 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
1060 | 70 |
"Modified: / 30-10-2011 / 17:41:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1036 | 71 |
! ! |
72 |
!CharacterArray methodsFor:'java conversions'! |
|
73 |
||
1032 | 74 |
asNiceJavaClassName |
75 |
| niceName | |
|
76 |
||
77 |
niceName := self asJavaComponentClassName asSTXInternalJavaClassName. |
|
78 |
(self occurrencesOf: $[) timesRepeat: [ niceName := niceName , '[]' ]. |
|
79 |
niceName := niceName asString copyReplaceAll: $/ with: $.. |
|
80 |
^ niceName. |
|
81 |
! ! |
|
82 |
!CharacterArray methodsFor:'java conversions'! |
|
83 |
||
84 |
asSTXInternalJavaClassName |
|
85 |
| internalName | |
|
86 |
||
87 |
internalName := self asJavaComponentClassName. |
|
88 |
(internalName startsWith: $L) ifTrue: [ |
|
1159 | 89 |
internalName := internalName copyFrom: 2 to: internalName size - 1 |
1032 | 90 |
]. |
91 |
(internalName includes: $.) ifTrue: [ |
|
1159 | 92 |
internalName := internalName asString copyReplaceAll: $. with: $/ |
1032 | 93 |
]. |
94 |
^internalName. |
|
95 |
! ! |
|
1061 | 96 |
!CharacterArray methodsFor:'java conversions'! |
97 |
||
98 |
asSlashedJavaClassName |
|
99 |
"removes square brackets and adds slashes" |
|
100 |
| internalName | |
|
101 |
internalName := self asJavaComponentClassName. |
|
102 |
(internalName startsWith: $L) ifTrue: [ |
|
1159 | 103 |
internalName := internalName copyFrom: 2 to: internalName size - 1 |
1061 | 104 |
]. |
105 |
(internalName includes: $.) ifTrue: [ |
|
1159 | 106 |
internalName := internalName asString copyReplaceAll: $. with: $/ |
1061 | 107 |
]. |
108 |
^ internalName. |
|
109 |
||
110 |
"Created: / 21-10-2011 / 12:31:51 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
111 |
"Created: / 30-10-2011 / 17:40:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
112 |
! ! |
|
1032 | 113 |
!CharacterArray methodsFor:'java queries'! |
114 |
||
115 |
isJavaArrayDescriptor |
|
116 |
^ self startsWith:$[. |
|
117 |
! ! |
|
118 |
!CharacterArray methodsFor:'java queries'! |
|
119 |
||
120 |
isJavaPrimitiveTypeDescriptor |
|
121 |
^ (self size = 1 and: [ JavaDescriptor baseTypes includesKey: self first ]). |
|
122 |
! ! |
|
1006 | 123 |
!Class methodsFor:'method lookup'! |
124 |
||
1207
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
125 |
perform:aMessage onReceiver:receiver from:sender ifNotFound:aBlock |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
126 |
| method selector class args retval| |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
127 |
selector := aMessage selector. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
128 |
args := aMessage arguments. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
129 |
class := receiver class. |
1006 | 130 |
|
1207
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
131 |
SmalltalkLookup isNil ifTrue:[ |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
132 |
(Smalltalk loadPackage: 'stx:libjava/experiments') ifFalse:[ |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
133 |
self error: 'You should load package stx:libjava/experiments if you want some interop - still experimental' mayProceed: true. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
134 |
^nil |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
135 |
] |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
136 |
]. |
1009
00cf245885ab
Some methods in SmalltalkLookup and Class were missing...
kursjan
parents:
1006
diff
changeset
|
137 |
|
1207
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
138 |
method := SmalltalkLookup instance lookupMethodForSelector: selector |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
139 |
directedTo: class |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
140 |
for: receiver |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
141 |
withArguments: args |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
142 |
from: sender |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
143 |
ilc: nil. |
1009
00cf245885ab
Some methods in SmalltalkLookup and Class were missing...
kursjan
parents:
1006
diff
changeset
|
144 |
|
1207
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
145 |
method ifNotNil: |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
146 |
[ | unboxedArgs | |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
147 |
unboxedArgs := self unbox: args to: method argTypes. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
148 |
retval := receiver perform: method selector withArguments: unboxedArgs. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
149 |
^ self box: retval toType: method returnType. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
150 |
]. |
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
151 |
^ aBlock value. |
1009
00cf245885ab
Some methods in SmalltalkLookup and Class were missing...
kursjan
parents:
1006
diff
changeset
|
152 |
|
00cf245885ab
Some methods in SmalltalkLookup and Class were missing...
kursjan
parents:
1006
diff
changeset
|
153 |
"Created: / 28-09-2011 / 11:31:33 / Jan Kurs <kursjan@fit.cvut.cz>" |
1207
babfd6d59b31
small cleanup - bunch of JK's interop classes moved to stx:libjava/experiments
vranyj1
parents:
1205
diff
changeset
|
154 |
"Modified: / 03-12-2011 / 21:37:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1006 | 155 |
! ! |
1190 | 156 |
!Delay methodsFor:'delaying'! |
157 |
||
158 |
waitWithState:state |
|
159 |
"suspend the current process until either the relative time delta |
|
160 |
has passed (if millisecondDelta is non-nil), or the absolute millisecondTime |
|
161 |
has been reached (if resumptionTime non-nil)." |
|
162 |
||
163 |
| wasBlocked currentDelta dueTime now then | |
|
164 |
isInterrupted := false. |
|
165 |
millisecondDelta notNil ifTrue: [ |
|
166 |
now := OperatingSystem getMillisecondTime. |
|
167 |
currentDelta := millisecondDelta rounded. |
|
168 |
currentDelta > 16r0fffffff ifTrue: [ |
|
169 |
"NOTE: the microsecondTime is increasing monotonically, |
|
170 |
while millisecondTime is wrapping at 16r1fffffff. |
|
171 |
So use the microsecondTime to check when we are finished" |
|
172 |
dueTime := OperatingSystem getMicrosecondTime + (currentDelta * 1000). |
|
173 |
currentDelta := 16r0fffffff. |
|
174 |
]. |
|
175 |
then := OperatingSystem millisecondTimeAdd: now and: currentDelta. |
|
176 |
] ifFalse: [ then := resumptionTime. ]. |
|
177 |
wasBlocked := OperatingSystem blockInterrupts. |
|
178 |
[ |
|
179 |
[ |
|
180 |
Processor signal: delaySemaphore atMilliseconds: then. |
|
181 |
Processor activeProcess state: state. |
|
182 |
delaySemaphore wait. |
|
183 |
] doWhile: [ |
|
184 |
(dueTime notNil |
|
185 |
and: [ |
|
186 |
isInterrupted not |
|
187 |
and: [ (currentDelta := dueTime - OperatingSystem getMicrosecondTime) > 0 ] |
|
188 |
]) |
|
189 |
ifTrue: [ |
|
190 |
currentDelta := (currentDelta // 1000) min: 16r0fffffff. |
|
191 |
now := OperatingSystem getMillisecondTime. |
|
192 |
then := OperatingSystem millisecondTimeAdd: now and: currentDelta. |
|
193 |
true. |
|
194 |
] |
|
195 |
ifFalse: [ false ] |
|
196 |
]. |
|
197 |
] ensure: [ wasBlocked ifFalse: [ OperatingSystem unblockInterrupts ]. ] |
|
198 |
||
199 |
" |
|
200 |
Transcript showCR:'1'. |
|
201 |
(Delay forSeconds:10) wait. |
|
202 |
Transcript showCR:'2'." |
|
203 |
||
204 |
"Modified: / 26-02-1997 / 15:21:35 / cg" |
|
205 |
"Modified: / 18-04-1997 / 11:56:46 / stefan" |
|
206 |
"Created: / 30-11-2011 / 13:38:18 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
207 |
! ! |
|
752 | 208 |
!Object methodsFor:'testing'! |
209 |
||
210 |
isJavaArray |
|
211 |
||
212 |
^self class isJavaArrayClass |
|
213 |
||
214 |
"Created: / 19-12-2010 / 17:05:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
215 |
! ! |
|
758 | 216 |
!Object methodsFor:'testing'! |
217 |
||
771 | 218 |
isJavaNameAndType |
219 |
"return true, if given object represents name and type struct in java constant pool" |
|
1159 | 220 |
|
771 | 221 |
^ false. |
222 |
||
223 |
"Created: / 10-05-2011 / 12:21:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
224 |
! ! |
|
225 |
!Object methodsFor:'testing'! |
|
226 |
||
894 | 227 |
isJavaPackage |
1209 | 228 |
"return true, if the receiver is a java package. |
229 |
False is returned here - the method is only redefined in JavaPackage." |
|
894 | 230 |
|
231 |
^ false |
|
232 |
||
233 |
"Created: / 09-08-2011 / 09:35:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
234 |
! ! |
|
235 |
!Object methodsFor:'testing'! |
|
236 |
||
758 | 237 |
isJavaRef |
238 |
"return true, if given object represents reference in java constant pool" |
|
239 |
^ false. |
|
240 |
||
241 |
"Created: / 08-04-2011 / 16:12:45 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
242 |
! ! |
|
1332 | 243 |
!Object methodsFor:'testing'! |
244 |
||
245 |
isJavaWrapperClass |
|
246 |
"return true, if this is a java wrapper class, i.e, java.lang.Integer, java.lang.Boolean etc." |
|
247 |
||
248 |
^ false |
|
249 |
||
250 |
"Created: / 01-01-2012 / 17:25:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
251 |
! ! |
|
916 | 252 |
!Object methodsFor:'autoboxing support'! |
253 |
||
254 |
javaBox: anObject |
|
255 |
||
256 |
^anObject |
|
257 |
||
258 |
"Created: / 15-08-2011 / 10:52:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
259 |
! ! |
|
1263 | 260 |
!Object methodsFor:'autoboxing support'! |
261 |
||
262 |
javaUnwrap: anObject |
|
263 |
"Unwraps the objects. Possibly call on the wrapped class" |
|
264 |
||
265 |
^anObject |
|
266 |
||
267 |
"Created: / 10-12-2011 / 19:51:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
268 |
! ! |
|
1319 | 269 |
!Object methodsFor:'autoboxing support'! |
270 |
||
1328 | 271 |
javaUnwrapFrom: javaType |
272 |
^ self. |
|
273 |
||
274 |
"Created: / 10-12-2011 / 19:51:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
275 |
"Created: / 30-12-2011 / 15:22:06 / kursjan <kursjan@fit.cvut.cz>" |
|
276 |
! ! |
|
277 |
!Object methodsFor:'autoboxing support'! |
|
278 |
||
1319 | 279 |
javaWrap: anObject |
280 |
"Wraps the receiver into corresponding Java object" |
|
281 |
||
282 |
^anObject |
|
283 |
||
284 |
"Created: / 26-12-2011 / 00:57:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
285 |
! ! |
|
1183 | 286 |
!Process methodsFor:'Java protocol'! |
287 |
||
288 |
clearInterrupted |
|
1185 | 289 |
JavaVM threadInterrupts at: self put: false. |
1183 | 290 |
|
291 |
"Created: / 30-11-2011 / 10:44:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
292 |
! ! |
|
1187
6f46a5bd8da1
my neverending fight with svn continues :) fix in Process>>isInterrupted :)
hlopkmar
parents:
1186
diff
changeset
|
293 |
!Process methodsFor:'Java protocol'! |
6f46a5bd8da1
my neverending fight with svn continues :) fix in Process>>isInterrupted :)
hlopkmar
parents:
1186
diff
changeset
|
294 |
|
6f46a5bd8da1
my neverending fight with svn continues :) fix in Process>>isInterrupted :)
hlopkmar
parents:
1186
diff
changeset
|
295 |
isInterrupted |
1188 | 296 |
|
297 |
^ JavaVM threadInterrupts at: self |
|
298 |
ifAbsent: [ JavaVM threadInterrupts at: self put: false. ] |
|
1187
6f46a5bd8da1
my neverending fight with svn continues :) fix in Process>>isInterrupted :)
hlopkmar
parents:
1186
diff
changeset
|
299 |
|
6f46a5bd8da1
my neverending fight with svn continues :) fix in Process>>isInterrupted :)
hlopkmar
parents:
1186
diff
changeset
|
300 |
"Created: / 30-11-2011 / 12:12:33 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
6f46a5bd8da1
my neverending fight with svn continues :) fix in Process>>isInterrupted :)
hlopkmar
parents:
1186
diff
changeset
|
301 |
! ! |
1144 | 302 |
!Process methodsFor:'queries'! |
303 |
||
1190 | 304 |
isSleeping |
305 |
"return true, iff the receiver is sleeping on Delay" |
|
306 |
||
307 |
^ (state == #sleep) |
|
308 |
||
309 |
"Created: / 30-11-2011 / 13:35:18 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
310 |
! ! |
|
311 |
!Process methodsFor:'queries'! |
|
312 |
||
1144 | 313 |
isWaiting |
314 |
"return true, iff the receiver is waiting on semaphore or something" |
|
1159 | 315 |
|
1144 | 316 |
^ (state == #wait) |
317 |
||
318 |
"Created: / 20-11-2011 / 20:55:11 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
319 |
! ! |
|
1192 | 320 |
!Process methodsFor:'Java protocol'! |
1190 | 321 |
|
322 |
javaInterrupt |
|
323 |
self isWaiting ifTrue: [ |
|
324 |
self |
|
325 |
interruptWith: [ |
|
326 |
JavaVM |
|
327 |
throwInterruptedException: 'thread has been interrupted during wait'. |
|
328 |
self terminate |
|
329 |
] |
|
330 |
] ifFalse: [ |
|
331 |
self isSleeping ifTrue: [ |
|
1192 | 332 |
|
1190 | 333 |
self |
334 |
interruptWith: [ |
|
335 |
JavaVM |
|
336 |
throwInterruptedException: 'thread has been interrupted during sleep'. |
|
337 |
self terminate |
|
338 |
] |
|
339 |
] ifFalse: [ self setInterrupted. ] |
|
340 |
] |
|
341 |
||
342 |
"Created: / 30-11-2011 / 13:35:18 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
343 |
! ! |
|
1183 | 344 |
!Process methodsFor:'Java protocol'! |
345 |
||
346 |
setInterrupted |
|
1188 | 347 |
|
348 |
JavaVM threadInterrupts at: self put: true. |
|
1183 | 349 |
|
350 |
"Created: / 30-11-2011 / 10:44:37 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
351 |
! ! |
|
1021
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1020
diff
changeset
|
352 |
!Set methodsFor:'javaProtocol'! |
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1020
diff
changeset
|
353 |
|
1103 | 354 |
java__contains:anObject |
1169 | 355 |
^ self contains: [:el | anObject = el ] |
1021
8ae6c261878a
changed class loaders order, loading of primitive arrays, refactoring coming soon..
hlopkmar
parents:
1020
diff
changeset
|
356 |
! ! |
1328 | 357 |
!SmallInteger methodsFor:'autoboxing'! |
358 |
||
359 |
javaUnwrapFrom: javaType |
|
360 |
javaType = #boolean ifTrue: [ |
|
361 |
^ self = 1 |
|
362 |
]. |
|
363 |
^ self |
|
364 |
||
365 |
"Created: / 30-12-2011 / 15:22:52 / kursjan <kursjan@fit.cvut.cz>" |
|
366 |
! ! |
|
752 | 367 |
!String methodsFor:'converting'! |
368 |
||
1159 | 369 |
asArrayOfSubstringsSeparatedBy:aSeparator |
752 | 370 |
"Modified version of asArrayOfSubstrings" |
1159 | 371 |
|
752 | 372 |
|substrings start end| |
373 |
||
374 |
substrings := OrderedCollection new. |
|
375 |
start := 1. |
|
376 |
[start <= self size] whileTrue:[ |
|
1159 | 377 |
(self at:start) = aSeparator ifFalse:[ |
378 |
end := start + 1. |
|
379 |
[ |
|
380 |
end <= self size and:[(self at:end) ~= aSeparator] |
|
381 |
] whileTrue:[end := end + 1]. |
|
382 |
substrings add:(self copyFrom:start to:end - 1). |
|
383 |
start := end - 1 |
|
384 |
]. |
|
385 |
start := start + 1 |
|
752 | 386 |
]. |
387 |
^ substrings asArray |
|
388 |
||
389 |
"Created: / 07-02-2011 / 11:18:03 / Marcel Hlopko <hlopik@gmail.com>" |
|
390 |
"Modified: / 08-02-2011 / 01:08:15 / Marcel Hlopko <hlopik@gmail.com>" |
|
391 |
! ! |
|
763 | 392 |
!UserPreferences methodsFor:'accessing-java-devel'! |
393 |
||
394 |
javaTestsDirectory |
|
774 | 395 |
^ self at: #javaTestsDirectory |
1159 | 396 |
ifAbsent: |
397 |
[ | nm | |
|
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
398 |
|
1159 | 399 |
nm := OperatingSystem getLoginName. |
400 |
"Default path for Jan" |
|
401 |
(nm = 'jv' and:[OperatingSystem isUNIXlike]) |
|
402 |
ifTrue: |
|
403 |
[ '/home/jv/Projects/libjava/sources/libjava/branches/jk_new_structure/tests' ] |
|
404 |
ifFalse: |
|
405 |
[ "Default path for Jan (the other one :-)" |
|
406 |
nm = 'jk' |
|
407 |
ifTrue: [ 'path for Jan' ] |
|
408 |
ifFalse: |
|
409 |
[ "Default path for Marcel" |
|
410 |
nm = 'm' |
|
411 |
ifTrue: [ '/home/m/Projects/libjava/branches/jk_new_structure/tests' ] |
|
412 |
ifFalse: |
|
413 |
[ | "Look into package dir" p | |
|
768 | 414 |
|
1159 | 415 |
(p := (Smalltalk getPackageDirectoryForPackage: 'stx:libjava') asFilename |
416 |
/ 'tests') exists |
|
417 |
ifTrue: [ p pathName ] |
|
418 |
ifFalse: |
|
419 |
[ | "Try the environment variable (used by Hudson)" p | |
|
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
420 |
|
1159 | 421 |
(p := OperatingSystem getEnvironment: 'LIBJAVA_TESTS') notNil |
422 |
ifTrue: [ p ] |
|
423 |
ifFalse: |
|
424 |
[ "No default, trigger an error" |
|
425 |
self error: 'No tests path specified' ] ] ] ] ] ] |
|
763 | 426 |
|
427 |
" |
|
1159 | 428 |
UserPreferences current javaTestsDirectory" |
763 | 429 |
|
430 |
"Created: / 07-05-2011 / 17:43:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
764
3c1d3f2d29a5
- stx_libjava class>>testSuite now contains also jUnit tests
vranyj1
parents:
763
diff
changeset
|
431 |
"Modified: / 07-05-2011 / 20:21:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
774 | 432 |
"Modified: / 12-05-2011 / 15:54:39 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
763 | 433 |
! ! |
434 |
!UserPreferences methodsFor:'accessing-java-devel'! |
|
435 |
||
436 |
javaTestsDirectory: aStringOrFilename |
|
437 |
||
438 |
self at:#javaTestsDirectory put: aStringOrFilename asString. |
|
439 |
||
440 |
"Created: / 07-05-2011 / 17:45:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
441 |
! ! |
|
1295 | 442 |
!WrappedMethod methodsFor:'accessing'! |
443 |
||
444 |
descriptor |
|
445 |
"Returns descriptor object (for wrapped Java methods)" |
|
446 |
||
447 |
| orig | |
|
448 |
orig := self originalMethod. |
|
449 |
^(orig respondsTo: #descriptor) ifTrue:[ |
|
450 |
orig descriptor |
|
451 |
] ifFalse:[ |
|
452 |
self doesNotUnderstand: (Message selector: #descriptor) |
|
453 |
] |
|
454 |
||
455 |
"Created: / 16-12-2011 / 20:03:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
456 |
! ! |
|
1209 | 457 |
!WrappedMethod methodsFor:'queries'! |
458 |
||
459 |
isAbstract |
|
460 |
||
461 |
^self originalMethod isAbstract. |
|
462 |
||
463 |
"Created: / 04-12-2011 / 11:24:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
464 |
! ! |
|
762 | 465 |
!ZipArchive methodsFor:'reading - java support'! |
466 |
||
467 |
nextBytes: bytesToRead of: zmember startingAt: pos into: b startingAt: off |
|
752 | 468 |
|
762 | 469 |
file position0Based: zmember fileStart + startOfArchive + pos. |
470 |
^ file nextBytes: bytesToRead into: b startingAt: off. |
|
752 | 471 |
|
762 | 472 |
"Created: / 01-05-2011 / 16:21:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
752 | 473 |
! ! |
474 |
!Boolean class methodsFor:'queries'! |
|
475 |
||
476 |
isJavaPrimitiveType |
|
477 |
||
478 |
^true |
|
479 |
||
480 |
"Created: / 25-02-2011 / 08:22:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
481 |
! ! |
|
851 | 482 |
!Boolean class methodsFor:'queries'! |
483 |
||
484 |
javaArrayClass |
|
485 |
^ BooleanArray |
|
486 |
||
487 |
"Created: / 25-02-2011 / 08:27:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
488 |
! ! |
|
916 | 489 |
!Boolean class methodsFor:'autoboxing support'! |
490 |
||
1159 | 491 |
javaBox: anObject |
916 | 492 |
| wrapper | |
493 |
||
1033 | 494 |
wrapper := (JavaVM classForName: 'java.lang.Boolean') new. |
916 | 495 |
wrapper perform: #'<init>(Z)V' with: anObject. |
1033 | 496 |
^ wrapper |
916 | 497 |
|
1204 | 498 |
"Created: / 16-08-2011 / 09:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
916 | 499 |
! ! |
752 | 500 |
!Boolean class methodsFor:'accessing'! |
501 |
||
502 |
javaName |
|
503 |
||
504 |
^'boolean'. |
|
505 |
||
506 |
"Modified: / 25-02-2011 / 18:58:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
507 |
! ! |
|
1204 | 508 |
!Boolean class methodsFor:'autoboxing support'! |
509 |
||
510 |
javaUnbox: object onError: errorBlock |
|
511 |
||
512 |
| value | |
|
513 |
||
514 |
(object class name = 'java/lang/Boolean') ifFalse:[ |
|
515 |
errorBlock value. |
|
516 |
]. |
|
517 |
value := object instVarNamed: #value. |
|
518 |
(value ~~ 0 and:[value ~~ 1]) ifTrue:[ |
|
519 |
errorBlock value. |
|
520 |
]. |
|
521 |
^value |
|
522 |
||
523 |
"Created: / 22-11-2011 / 11:52:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
524 |
! ! |
|
1263 | 525 |
!Boolean class methodsFor:'autoboxing support'! |
526 |
||
527 |
javaUnwrap: zeroOrOne |
|
528 |
||
529 |
^zeroOrOne == 1 |
|
530 |
||
531 |
"Created: / 10-12-2011 / 20:00:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
532 |
! ! |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
533 |
!BooleanArray class methodsFor:'testing'! |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
534 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
535 |
isInterface |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
536 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
537 |
^false |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
538 |
! ! |
752 | 539 |
!BooleanArray class methodsFor:'queries'! |
540 |
||
912
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
541 |
isJavaArrayClass |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
542 |
|
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
543 |
^true |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
544 |
|
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
545 |
"Created: / 20-12-2010 / 22:47:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
546 |
! ! |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
547 |
!BooleanArray class methodsFor:'queries'! |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
548 |
|
752 | 549 |
isJavaReferenceType |
550 |
||
551 |
"Java arrays are reference types" |
|
552 |
^true |
|
553 |
||
554 |
"Created: / 20-12-2010 / 22:30:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
555 |
! ! |
|
556 |
!BooleanArray class methodsFor:'accessing-java'! |
|
557 |
||
1226 | 558 |
javaArrayClass |
559 |
^ JavaArray javaArrayClassFor: self |
|
560 |
||
561 |
"Created: / 06-12-2011 / 17:29:22 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
562 |
! ! |
|
563 |
!BooleanArray class methodsFor:'accessing-java'! |
|
564 |
||
752 | 565 |
javaComponentClass |
566 |
||
567 |
^Boolean |
|
568 |
||
569 |
"Created: / 20-12-2010 / 22:13:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
570 |
! ! |
|
571 |
!BooleanArray class methodsFor:'accessing'! |
|
572 |
||
573 |
javaName |
|
574 |
||
960 | 575 |
^'[Z'. |
752 | 576 |
|
960 | 577 |
"Modified: / 31-08-2011 / 23:57:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
752 | 578 |
! ! |
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
579 |
!ByteArray class methodsFor:'testing'! |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
580 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
581 |
isInterface |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
582 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
583 |
^false |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
584 |
! ! |
752 | 585 |
!ByteArray class methodsFor:'queries'! |
586 |
||
866 | 587 |
isJavaArrayClass |
588 |
||
589 |
^true |
|
590 |
||
591 |
"Created: / 05-02-2011 / 22:45:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
592 |
! ! |
|
593 |
!ByteArray class methodsFor:'queries'! |
|
594 |
||
752 | 595 |
isJavaReferenceType |
596 |
||
597 |
"Java arrays are reference types" |
|
598 |
^true |
|
599 |
||
600 |
"Created: / 20-12-2010 / 22:30:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
601 |
! ! |
|
602 |
!ByteArray class methodsFor:'accessing-java'! |
|
603 |
||
866 | 604 |
javaArrayClass |
605 |
||
606 |
^JavaArray javaArrayClassFor: self |
|
607 |
||
608 |
"Created: / 11-06-2011 / 23:42:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
609 |
! ! |
|
610 |
!ByteArray class methodsFor:'accessing-java'! |
|
611 |
||
752 | 612 |
javaComponentClass |
613 |
||
1159 | 614 |
^JavaByte |
752 | 615 |
|
616 |
"Created: / 20-12-2010 / 22:05:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
617 |
! ! |
|
618 |
!ByteArray class methodsFor:'accessing'! |
|
619 |
||
620 |
javaName |
|
621 |
||
622 |
^'[B'. |
|
623 |
||
624 |
"Modified: / 25-02-2011 / 19:02:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
625 |
! ! |
|
626 |
!Character class methodsFor:'queries'! |
|
627 |
||
628 |
isJavaPrimitiveType |
|
629 |
||
630 |
^true |
|
631 |
||
632 |
"Created: / 20-12-2010 / 22:18:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
633 |
! ! |
|
634 |
!Character class methodsFor:'accessing'! |
|
635 |
||
851 | 636 |
javaArrayClass |
637 |
^ String |
|
638 |
||
639 |
"Created: / 11-02-2011 / 10:44:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
640 |
! ! |
|
917 | 641 |
!Character class methodsFor:'autoboxing support'! |
642 |
||
1159 | 643 |
javaBox: anObject |
1033 | 644 |
| wrapper | |
917 | 645 |
|
1033 | 646 |
wrapper := (JavaVM classForName: 'java.lang.Character') new. |
1159 | 647 |
wrapper perform: #'<init>(C)V' with: anObject codePoint. |
1033 | 648 |
^ wrapper |
917 | 649 |
|
650 |
"Created: / 16-08-2011 / 09:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
651 |
! ! |
|
851 | 652 |
!Character class methodsFor:'accessing'! |
653 |
||
752 | 654 |
javaName |
655 |
||
656 |
^'char'. |
|
657 |
||
658 |
"Modified: / 25-02-2011 / 18:58:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
659 |
! ! |
|
1204 | 660 |
!Character class methodsFor:'autoboxing support'! |
661 |
||
662 |
javaUnbox: object onError: errorBlock |
|
663 |
||
664 |
| value | |
|
665 |
||
666 |
(object class name = 'java/lang/Character') ifFalse:[ |
|
667 |
errorBlock value. |
|
668 |
]. |
|
669 |
value := object instVarNamed: #value. |
|
670 |
(value between: 0 and: 255) ifFalse:[ |
|
671 |
errorBlock value. |
|
672 |
]. |
|
673 |
^value |
|
674 |
||
675 |
"Created: / 22-11-2011 / 11:52:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
676 |
! ! |
|
752 | 677 |
!CharacterArray class methodsFor:'encoding & decoding'! |
678 |
||
1159 | 679 |
decodeFromJavaUTF8: bytes |
752 | 680 |
"Decodes a string from modified UTF8 encoding |
681 |
as used in Java .class files. see |
|
682 |
'The class file format specification', section 4.5.7" |
|
1159 | 683 |
|
752 | 684 |
| string i s b codePoint realLength | |
685 |
||
686 |
string := String new: bytes size. |
|
687 |
realLength := bytes size. |
|
688 |
s := bytes readStream. |
|
689 |
i := 1. |
|
1159 | 690 |
[ s atEnd ] whileFalse: |
1253 | 691 |
[ b := s next. |
692 |
(b & 2r10000000) == 0 |
|
693 |
ifTrue: [ codePoint := b ] |
|
694 |
ifFalse: |
|
695 |
[ self assert: (b & 2r01000000) = 2r01000000. |
|
696 |
(b & 2r00100000) = 0 |
|
697 |
ifTrue: |
|
698 |
[ "two byte utf char" |
|
699 |
realLength := realLength - 1. |
|
700 |
self assert: s size > 0. |
|
701 |
self assert: (b & 2r01000000) = 2r01000000. |
|
702 |
string bitsPerCharacter < 16 |
|
703 |
ifTrue: [ string := Unicode16String fromString: string ]. |
|
704 |
codePoint := (b & 2r00011111) << 6. |
|
705 |
b := s next. |
|
706 |
self assert: (b & 2r11000000) = 2r10000000. |
|
707 |
codePoint := codePoint + (b & 2r00111111). ] |
|
708 |
ifFalse: |
|
709 |
[ "at lease 3 byte utf char" |
|
710 |
realLength := realLength - 2. |
|
711 |
string bitsPerCharacter < 16"was: 32" |
|
712 |
ifTrue: [ string := Unicode16String"was: Unicode32String" fromString: string ]. |
|
713 |
self assert: s size > 1. |
|
714 |
(b & 2r00010000) = 0 |
|
715 |
ifTrue: |
|
716 |
[ | utf32Possible utf32Value | |
|
752 | 717 |
|
1253 | 718 |
"3 or 6 byte utf char" |
719 |
self assert: s size > 1. |
|
720 |
s size < 5 |
|
721 |
ifTrue: [ utf32Possible := false ] |
|
722 |
ifFalse: [ utf32Possible := true ]. |
|
723 |
b ~= 2r11101101 ifTrue: [ utf32Possible := false ]. |
|
724 |
codePoint := (b & 2r00001111) << 12. |
|
725 |
b := s next. |
|
726 |
self assert: (b & 2r11000000) = 2r10000000. |
|
727 |
((b & 2r11110000) = 2r10100000 and: [ utf32Possible ]) |
|
728 |
ifTrue: [ utf32Value := 2r00010000 + ((b & 2r00001111) << 16) ] |
|
729 |
ifFalse: [ utf32Possible := false ]. |
|
730 |
codePoint := codePoint + ((b & 2r00111111) << 6). |
|
731 |
b := s next. |
|
732 |
self assert: (b & 2r11000000) = 2r10000000. |
|
733 |
utf32Possible |
|
734 |
ifTrue: [ utf32Value := utf32Value + ((b & 2r00111111) << 10) ]. |
|
735 |
codePoint := codePoint + (b & 2r00111111). |
|
736 |
utf32Possible |
|
737 |
ifTrue: |
|
738 |
[ | tmpB | |
|
752 | 739 |
|
1253 | 740 |
string bitsPerCharacter < 32 |
741 |
ifTrue: [ string := Unicode32String fromString: string ]. |
|
742 |
tmpB := s copy. |
|
743 |
b := tmpB next. |
|
744 |
b = 2r11101101 |
|
745 |
ifTrue: |
|
746 |
[ b := tmpB next. |
|
747 |
(b & 2r11110000) = 2r10110000 |
|
748 |
ifTrue: |
|
749 |
[ utf32Value := utf32Value + ((b & 2r00001111) << 6). |
|
750 |
b := tmpB next. |
|
751 |
self assert: (b & 2r11000000) = 2r10000000. |
|
752 |
utf32Value := utf32Value + (b & 2r00111111). |
|
753 |
codePoint := utf32Value. |
|
754 |
realLength := realLength - 3. s position: tmpB position.] ] ] ] |
|
755 |
ifFalse: |
|
756 |
[ "should not happen, ask mh" |
|
757 |
self halt. ] ] ]. |
|
758 |
string at: i put: (Character codePoint: codePoint). |
|
759 |
i := i + 1. ]. |
|
752 | 760 |
^ string subString: 1 to: realLength. |
761 |
||
762 |
" |
|
1253 | 763 |
String decodeFromJavaUTF8: 'Hello world' asByteArray" |
752 | 764 |
|
765 |
"Created: / 22-12-2010 / 23:45:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
766 |
"Modified: / 09-02-2011 / 01:12:25 / Marcel Hlopko <hlopik@gmail.com>" |
|
767 |
"Modified: / 13-03-2011 / 15:52:36 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
1253 | 768 |
"Modified: / 09-12-2011 / 19:49:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
752 | 769 |
! ! |
770 |
!CharacterArray class methodsFor:'instance creation'! |
|
771 |
||
772 |
fromJavaUTF8Bytes:aByteCollection |
|
773 |
"return a new string which represents the characters as decoded |
|
1159 | 774 |
from the modified utf8 encoded bytes as specified in |
752 | 775 |
The class file format specification, section 4.5.7" |
776 |
||
777 |
^ self decodeFromJavaUTF8:aByteCollection. |
|
778 |
||
779 |
" |
|
780 |
CharacterArray fromUTF8Bytes:#[ 16r41 16r42 ] |
|
781 |
CharacterArray fromUTF8Bytes:#[ 16rC1 16r02 ] |
|
782 |
CharacterArray fromUTF8Bytes:#[ 16rE0 16r81 16r02 ] |
|
783 |
CharacterArray fromUTF8Bytes:#[ 16rEF 16rBF 16rBF ] |
|
784 |
||
785 |
rfc2279 examples: |
|
786 |
CharacterArray fromUTF8Bytes:#[ 16r41 16rE2 16r89 16rA2 16rCE 16r91 16r2E ] |
|
787 |
CharacterArray fromUTF8Bytes:#[ 16rED 16r95 16r9C 16rEA 16rB5 16rAD 16rEC 16r96 16rB4 ] |
|
788 |
CharacterArray fromUTF8Bytes:#[ 16rE6 16r97 16rA5 16rE6 16r9C 16rAC 16rE8 16rAA 16r9E ] |
|
789 |
||
790 |
invalid: |
|
791 |
CharacterArray fromUTF8Bytes:#[ 16rC0 16r80 ] |
|
792 |
CharacterArray fromUTF8Bytes:#[ 16rE0 16r80 16r80 ] |
|
793 |
" |
|
794 |
||
795 |
"Created: / 23-12-2010 / 09:01:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
796 |
! ! |
|
865 | 797 |
!CharacterArray class methodsFor:'queries'! |
798 |
||
799 |
isJavaArrayClass |
|
800 |
||
801 |
^true |
|
802 |
||
803 |
"Created: / 05-02-2011 / 22:45:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
804 |
! ! |
|
805 |
!CharacterArray class methodsFor:'accessing-java'! |
|
806 |
||
807 |
javaArrayClass |
|
808 |
||
901 | 809 |
^JavaArray javaArrayClassFor: Unicode16String |
865 | 810 |
|
811 |
"Created: / 11-06-2011 / 23:42:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
901 | 812 |
"Modified: / 10-08-2011 / 13:18:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
865 | 813 |
! ! |
814 |
!CharacterArray class methodsFor:'accessing-java'! |
|
815 |
||
816 |
javaComponentClass |
|
817 |
||
818 |
^Character |
|
819 |
||
820 |
"Created: / 20-12-2010 / 22:05:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
821 |
! ! |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
822 |
!DoubleArray class methodsFor:'testing'! |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
823 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
824 |
isInterface |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
825 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
826 |
^false |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
827 |
! ! |
752 | 828 |
!DoubleArray class methodsFor:'queries'! |
829 |
||
912
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
830 |
isJavaArrayClass |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
831 |
|
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
832 |
^true |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
833 |
|
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
834 |
"Created: / 20-12-2010 / 22:47:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
835 |
! ! |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
836 |
!DoubleArray class methodsFor:'queries'! |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
837 |
|
752 | 838 |
isJavaReferenceType |
839 |
||
840 |
"Java arrays are reference types" |
|
841 |
^true |
|
842 |
||
843 |
"Created: / 20-12-2010 / 22:30:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
844 |
! ! |
|
845 |
!DoubleArray class methodsFor:'accessing-java'! |
|
846 |
||
1226 | 847 |
javaArrayClass |
848 |
^ JavaArray javaArrayClassFor: self. |
|
849 |
||
850 |
"Created: / 06-12-2011 / 17:28:26 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
851 |
! ! |
|
852 |
!DoubleArray class methodsFor:'accessing-java'! |
|
853 |
||
752 | 854 |
javaComponentClass |
855 |
||
856 |
^Float |
|
857 |
||
858 |
"Created: / 20-12-2010 / 22:06:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
859 |
! ! |
|
860 |
!DoubleArray class methodsFor:'accessing'! |
|
861 |
||
862 |
javaName |
|
863 |
||
864 |
^'[D'. |
|
865 |
||
866 |
"Modified: / 25-02-2011 / 19:03:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
867 |
! ! |
|
868 |
!Float class methodsFor:'queries'! |
|
869 |
||
870 |
isJavaPrimitiveType |
|
871 |
||
872 |
^true |
|
873 |
||
874 |
"Created: / 06-02-2011 / 17:21:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
875 |
! ! |
|
876 |
!Float class methodsFor:'accessing'! |
|
877 |
||
851 | 878 |
javaArrayClass |
879 |
^ DoubleArray |
|
880 |
||
881 |
"Created: / 11-02-2011 / 10:50:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
882 |
! ! |
|
917 | 883 |
!Float class methodsFor:'autoboxing support'! |
884 |
||
1159 | 885 |
javaBox: anObject |
917 | 886 |
| wrapper | |
887 |
||
1033 | 888 |
wrapper := (JavaVM classForName: 'java.lang.Double') new. |
917 | 889 |
wrapper perform: #'<init>(D)V' with: anObject. |
1033 | 890 |
^ wrapper |
917 | 891 |
|
892 |
"Created: / 16-08-2011 / 09:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
893 |
! ! |
|
851 | 894 |
!Float class methodsFor:'accessing'! |
895 |
||
752 | 896 |
javaName |
897 |
||
898 |
^'double'. |
|
899 |
||
900 |
"Modified: / 25-02-2011 / 18:59:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
901 |
! ! |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
902 |
!FloatArray class methodsFor:'testing'! |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
903 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
904 |
isInterface |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
905 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
906 |
^false |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
907 |
! ! |
752 | 908 |
!FloatArray class methodsFor:'queries'! |
909 |
||
912
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
910 |
isJavaArrayClass |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
911 |
|
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
912 |
^true |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
913 |
|
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
914 |
"Created: / 20-12-2010 / 22:47:29 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
915 |
! ! |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
916 |
!FloatArray class methodsFor:'queries'! |
e651488f5741
Many fixes in reflection, expecially for generic types support
vranyj1
parents:
905
diff
changeset
|
917 |
|
752 | 918 |
isJavaReferenceType |
919 |
||
920 |
"Java arrays are reference types" |
|
921 |
^true |
|
922 |
||
923 |
"Created: / 20-12-2010 / 22:30:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
924 |
! ! |
|
925 |
!FloatArray class methodsFor:'accessing-java'! |
|
926 |
||
1226 | 927 |
javaArrayClass |
928 |
^ JavaArray javaArrayClassFor: self. |
|
929 |
||
930 |
"Created: / 06-12-2011 / 17:29:01 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
931 |
! ! |
|
932 |
!FloatArray class methodsFor:'accessing-java'! |
|
933 |
||
752 | 934 |
javaComponentClass |
935 |
||
936 |
^ShortFloat |
|
937 |
||
938 |
"Created: / 20-12-2010 / 22:06:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
939 |
! ! |
|
940 |
!FloatArray class methodsFor:'accessing'! |
|
941 |
||
942 |
javaName |
|
943 |
||
944 |
^'[F'. |
|
945 |
||
946 |
"Modified: / 25-02-2011 / 19:03:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
947 |
! ! |
|
1038 | 948 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
752 | 949 |
|
950 |
javaClassBrowserIcon |
|
951 |
"This resource specification was automatically generated |
|
952 |
by the ImageEditor of ST/X." |
|
953 |
||
954 |
"Do not manually edit this!! If it is corrupted, |
|
955 |
the ImageEditor may not be able to read the specification." |
|
956 |
||
957 |
" |
|
958 |
self javaClassBrowserIcon inspect |
|
959 |
ImageEditor openOnClass:self andSelector:#javaClassBrowserIcon |
|
960 |
Icon flushCachedIcons |
|
961 |
" |
|
962 |
||
963 |
<resource: #image> |
|
964 |
||
965 |
^Icon |
|
1159 | 966 |
constantNamed:'GenericToolbarIconLibrary class javaClassBrowserIcon' |
967 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 968 |
VU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU\OF@4YC5]YVU%YVU%YVP$MO4YFQ#<ABU%YVU%YVP$[R5YTUUQRQ0(IVU%YVU\MRUAXVE!!X |
969 |
VD=H@U]YVU$GPEEXVEMMS%!!LR$@PVU%YASYBVDMAPTEEQDP>AU%YVPDVI5 (EALSEA\\H@1YVU$EGQ)XJQ8"H!!H.C"PEVU%YDBD3M5 /I!!=XOR4*@E%YVU\J |
|
970 |
LC(4VE!!XMS02B%]YVU%YDP,#NC$;NS 1@!!EYVU%YVU$QERT+KB,%EQEYVU%YVU%YVU\F@0PCBE]YVU%YVU%YVU%YVU%YVU%YVU%YVP@@@@@@@@@@@@@@@@@@ |
|
971 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[108 168 129 51 130 77 54 131 79 64 137 88 66 139 90 70 143 94 84 152 106 90 155 112 92 156 113 130 179 146 36 118 62 46 124 70 51 129 75 57 134 80 88 156 109 93 158 113 99 162 119 129 178 144 162 201 174 45 124 68 46 125 69 47 125 70 48 126 70 51 129 73 75 146 96 74 144 94 119 174 135 50 128 71 54 132 74 59 135 79 63 137 82 142 189 154 62 136 79 62 136 80 62 135 80 70 142 87 71 143 88 82 150 98 107 167 122 143 190 154 195 221 201 226 239 229 82 150 96 86 154 100 86 153 100 93 156 106 171 207 179 188 216 194 84 151 97 87 153 100 88 153 100 94 156 106 218 234 221 230 241 232 82 150 94 241 247 242 96 160 105 124 178 132 121 174 129 133 184 140 140 188 147 240 247 241 89 153 97 104 164 111 97 160 103 96 158 102 158 198 161 220 234 221 103 162 106 109 166 112 119 174 120 128 179 128 123 177 122 121 174 119 135 184 133 129 179 125 225 239 224 145 190 140 179 210 176 188 217 185 190 218 187 159 199 154 160 199 155 187 216 183 194 220 191 198 222 195 176 208 171 201 208 199 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@_0C? _?C?>O?8??#?>O?8??#?>G?0O>@_0@@@b') ; yourself); yourself] |
|
972 |
! ! |
|
973 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
974 |
||
975 |
javaExceptionBrowserIcon |
|
976 |
"This resource specification was automatically generated |
|
977 |
by the ImageEditor of ST/X." |
|
978 |
||
979 |
"Do not manually edit this!! If it is corrupted, |
|
980 |
the ImageEditor may not be able to read the specification." |
|
981 |
||
982 |
" |
|
983 |
self javaExceptionBrowserIcon inspect |
|
984 |
ImageEditor openOnClass:self andSelector:#javaExceptionBrowserIcon |
|
985 |
Icon flushCachedIcons |
|
986 |
" |
|
987 |
||
988 |
<resource: #image> |
|
989 |
||
990 |
^Icon |
|
1159 | 991 |
constantNamed:'GenericToolbarIconLibrary class javaExceptionBrowserIcon' |
992 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 993 |
D!!HRD!!HC@@DRD!!HRD!!HRD!!HRD!!HR@0@AD!!HRD!!HRD!!HRD!!HRD L@@QHRA $IA!!HRD!!HRD!!HC@@DRD $EAP$RD!!HRD!!HR@0@AD!!HIAPTID!!HRD!!HRD L@@QHR |
994 |
B ,KB!!HRD!!HR@0HB@@HRD PD@ RD!!HRD LA@@HRD!!HLDQDLD!!HRD!!HRD!!HRD!!HRA0<OA1HRD!!HRD!!HRD!!HRD!!HNC!!HRD!!HRD!!HRD!!HRD!!HRD!!HRD!!HRD!!HR |
|
995 |
D!!HRD!!HRA $IA!!HRD!!HRD!!HRD!!HRD $MA@$RD!!HRD!!HRD!!HRD!!HNCPPND!!HRD!!HRD!!HRD!!HRA 8NA!!HRD!!HRD!!HRD!!HRD!!HRD!!HRD @@@@@@@@@@@@@@@@@@ |
|
996 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[40 98 150 81 128 170 110 150 185 194 211 226 255 223 95 255 234 145 228 221 192 218 204 156 184 149 37 190 156 40 188 153 39 255 226 134 180 143 35 255 223 127 170 130 30 207 167 62 254 215 119 254 207 108 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A0@G@@\<A30GO@\<G30^O@@<@A @@@@<@C0@O@@<@@@b') ; yourself); yourself] |
|
997 |
! ! |
|
998 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
999 |
||
1000 |
javaPrivateClassBrowserIcon |
|
1001 |
"This resource specification was automatically generated |
|
1002 |
by the ImageEditor of ST/X." |
|
1003 |
||
1004 |
"Do not manually edit this!! If it is corrupted, |
|
1005 |
the ImageEditor may not be able to read the specification." |
|
1006 |
||
1007 |
" |
|
1008 |
self javaPrivateClassBrowserIcon inspect |
|
1009 |
ImageEditor openOnClass:self andSelector:#javaPrivateClassBrowserIcon |
|
1010 |
Icon flushCachedIcons |
|
1011 |
" |
|
1012 |
||
1013 |
<resource: #image> |
|
1014 |
||
1015 |
^Icon |
|
1159 | 1016 |
constantNamed:'GenericToolbarIconLibrary class javaPrivateClassBrowserIcon' |
1017 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1018 |
XVE!!XQHWHAX!!E1I!!XVE!!XVE!!XQ@VPD]GQ4@JDFE!!XVE!!XQ@$SE]UU%USRALPXVE!!XQHVR%E XFA XEAIB!!I!!XVDNPUI XEQNS6AMR4DXXVE!!CC%CXDQBP$IF |
1019 |
QTT?CFE!!XP(^K6@1GA,[GA<%JQU!!XVDLI"I L"\+J1$4F" QXVE!!FB(7N&@5K%)ZV%)ZV%)!!XRLSM#48XFAYWE1\WE1YXVE!!C1P,N30>V51^W%9\V6E!!XVDO |
|
1020 |
GR43L@HGA TFA0I!!XVE!!XQHMB0$CW54@@E<AXVE!!XVE!!XVE!!AE!!XVE!!XAFE!!XVE!!XVE!!XP HB@ HB@!!!!XVE!!XVE!!XVE!!XVE!!XVE!!XP@@@@@@@@@@@@@@@@@@ |
|
1021 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[231 96 97 200 41 48 200 48 52 200 41 49 200 29 44 242 77 92 241 77 92 245 118 128 200 25 42 152 195 167 51 130 77 64 137 88 70 143 94 84 152 106 90 155 112 126 179 144 129 181 146 155 198 169 205 226 212 36 118 62 46 124 70 51 129 75 57 134 80 93 158 113 99 162 119 162 201 174 166 204 178 45 124 68 46 125 69 47 125 70 48 126 70 51 129 73 75 146 96 74 144 94 119 174 135 216 233 221 50 128 71 54 132 74 59 135 79 63 137 82 155 198 166 62 136 79 62 136 80 62 135 80 70 142 87 82 150 98 107 167 122 143 190 154 164 203 173 195 221 201 226 239 229 86 154 100 171 207 179 188 216 194 84 151 97 94 156 106 218 234 221 82 150 94 241 247 242 96 160 105 124 178 132 121 174 129 167 204 172 89 153 97 104 164 111 97 160 103 96 158 102 158 198 161 220 234 221 103 162 106 109 166 112 119 174 120 128 179 128 123 177 122 121 174 119 135 184 133 129 179 125 225 239 224 145 190 140 179 210 176 188 217 185 190 218 187 159 199 154 160 199 155 187 216 183 194 220 191 198 222 195 176 208 171 231 147 139 201 67 60 201 71 62 201 62 58 246 146 142 231 96 96 245 124 124 237 131 131 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?>_?8??!!?>C?8@? C>@@@b') ; yourself); yourself] |
|
1022 |
! ! |
|
1023 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1024 |
||
1025 |
javaPrivateEnumBrowserIcon |
|
1026 |
"This resource specification was automatically generated |
|
1027 |
by the ImageEditor of ST/X." |
|
1028 |
||
1029 |
"Do not manually edit this!! If it is corrupted, |
|
1030 |
the ImageEditor may not be able to read the specification." |
|
1031 |
||
1032 |
" |
|
1033 |
self javaPrivateEnumBrowserIcon inspect |
|
1034 |
ImageEditor openOnClass:self andSelector:#javaPrivateEnumBrowserIcon |
|
1035 |
Icon flushCachedIcons |
|
1036 |
" |
|
1037 |
||
1038 |
<resource: #image> |
|
1039 |
||
1040 |
^Icon |
|
1159 | 1041 |
constantNamed:'GenericToolbarIconLibrary class javaPrivateEnumBrowserIcon' |
1042 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1043 |
QDQDQC\#F1PZH3]DQDQDQDQDQB0TI"@ HBXRKDQDQDQDQB0PJ#D1LSD1I 0,QDQDQC\TJR%BP$IBP#H D#]DQDP!!IBP$P$H6K2<''IBP%QDQDFQ0"H$IBKRH" |
1044 |
H"T FTQDQAHOCP5BP$IBP" SE!!EDQDPYEQTUP$H0NC JL3L5QDQDIQX\GDIBB30<OC0<OC1DQC\LG!!9BP$L<O#8>O#8;QDQDJ04XK"89OS9@PD@>OTQDQDP+ |
|
1045 |
C!!4 BPHGA TFA0IDQDQDQC\_E3PCPS<@@DDAQDQDQDQDQDQDAC(:N#(:BDQDQDQDQDQDQ@ HB@ HB@!!DQDQDQDQDQDQDQDQDQDQDQ@@@@@@@@@@@@@@@@@@@ |
|
1046 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[231 96 97 200 41 48 200 48 52 200 41 49 200 29 44 242 77 92 241 77 92 245 118 128 200 25 42 217 201 182 219 204 186 230 219 206 140 89 32 142 92 36 142 93 37 143 93 38 144 94 39 144 95 40 145 96 41 146 97 43 147 99 45 147 100 47 148 101 48 149 103 50 152 107 56 153 108 57 154 109 60 155 111 62 158 115 67 158 116 68 159 117 69 160 118 71 161 119 73 163 123 77 165 125 81 165 126 81 166 127 83 169 131 88 170 133 91 176 141 102 178 144 106 180 147 110 185 154 119 186 156 122 187 157 124 190 161 129 194 167 137 199 174 146 204 182 157 206 184 160 209 188 165 212 193 172 213 195 174 214 196 176 216 199 180 225 211 196 226 213 199 231 220 208 231 147 139 201 67 60 201 71 62 201 62 58 246 146 142 231 96 96 245 124 124 237 131 131 255 254 254 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?>_?8??!!?>C?8@? C>@@@b') ; yourself); yourself] |
|
1047 |
! ! |
|
1048 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1049 |
||
1050 |
javaPrivateInterfaceBrowserIcon |
|
1051 |
"This resource specification was automatically generated |
|
1052 |
by the ImageEditor of ST/X." |
|
1053 |
||
1054 |
"Do not manually edit this!! If it is corrupted, |
|
1055 |
the ImageEditor may not be able to read the specification." |
|
1056 |
||
1057 |
" |
|
1058 |
self javaPrivateInterfaceBrowserIcon inspect |
|
1059 |
ImageEditor openOnClass:self andSelector:#javaPrivateInterfaceBrowserIcon |
|
1060 |
Icon flushCachedIcons |
|
1061 |
" |
|
1062 |
||
1063 |
<resource: #image> |
|
1064 |
||
1065 |
^Icon |
|
1159 | 1066 |
constantNamed:'GenericToolbarIconLibrary class javaPrivateInterfaceBrowserIcon' |
1067 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1068 |
TUEQTTPVCP,NE$QQTUEQTUEQTS<KD!!TUEQHKO5EQTUEQTS<3OQ-GQ4\[OSL?TUEQTRD,NQ1PTEAPB!!0;KBEQTUDVD3 8FEAPBS 8NAPYTUEQC4XLC@1PTDLL |
1069 |
CCT5C5EQTR<(J"\''TE@ I2\*IB9QTUDOKR,&I%APPT@^GQ5BTUEQFSH0LTUPTD)JR$)JR$)QTRH#M#)PTEAJSD1LSD1ITUEQF"TQOC0_R41NS$9LR5EQTUDZ |
|
1070 |
JS\PO HGA TFA0IQTUEQTTPWMA<CS44@@D<ATUEQTUEQTUEQAD!!HRD!!HBEEQTUEQTUEQTP HB@ HB@!!QTUEQTUEQTUEQTUEQTUEQTP@@@@@@@@@@@@@@@@@@ |
|
1071 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[231 96 97 200 41 48 200 48 52 200 41 49 200 29 44 242 77 92 241 77 92 245 118 128 200 25 42 197 188 224 215 209 233 112 94 176 111 93 174 114 96 177 113 95 176 115 97 177 117 100 177 120 102 180 125 108 184 125 108 183 130 114 185 143 128 194 151 136 198 149 135 197 158 145 203 156 143 201 159 146 203 165 153 207 168 156 208 168 156 207 167 155 205 171 160 209 174 164 209 220 215 236 226 222 240 85 66 159 90 71 159 93 74 164 90 72 159 89 71 158 92 73 160 94 75 164 93 74 161 93 75 161 97 79 167 96 79 166 97 79 166 98 80 167 98 80 165 96 79 162 101 83 168 101 84 169 108 91 173 107 91 172 111 94 174 117 100 178 131 116 188 137 122 191 134 120 187 139 125 191 138 124 190 142 128 193 154 142 199 161 149 204 167 156 207 174 165 210 181 172 216 185 176 218 204 198 228 94 78 161 105 89 172 174 165 212 231 147 139 201 67 60 201 71 62 201 62 58 246 146 142 231 96 96 245 124 124 237 131 131 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?>_?8??!!?>C?8@? C>@@@b') ; yourself); yourself] |
|
1072 |
! ! |
|
1073 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1074 |
||
1075 |
javaProtectedClassBrowserIcon |
|
1076 |
"This resource specification was automatically generated |
|
1077 |
by the ImageEditor of ST/X." |
|
1078 |
||
1079 |
"Do not manually edit this!! If it is corrupted, |
|
1080 |
the ImageEditor may not be able to read the specification." |
|
1081 |
||
1082 |
" |
|
1083 |
self javaProtectedClassBrowserIcon inspect |
|
1084 |
ImageEditor openOnClass:self andSelector:#javaProtectedClassBrowserIcon |
|
1085 |
Icon flushCachedIcons |
|
1086 |
" |
|
1087 |
||
1088 |
<resource: #image> |
|
1089 |
||
1090 |
^Icon |
|
1159 | 1091 |
constantNamed:'GenericToolbarIconLibrary class javaProtectedClassBrowserIcon' |
1092 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1093 |
X6M#X0(PE 8WD@)#X6M#X6M#X0\NM34=OS\@A6M#X6M#X0\\P$5KSD-IO ,GX6M#X0(NPD]"X&I"X$X?@@)#X6LEND!!"X$)DQVICPS QX6M#@2<:X#,9NS$< |
1094 |
LSD6@6M#X0@UIVH(D1HRD1 _I 5#X6LCGQ)"JQ8!!HP<(T%HHX6M#DR@-LFH+IA%"T$9NT&M#X1,KKCP.X&I"T5APTD=TX6M#A 0"L#L5VUUZV%)ZUUE#X6LF |
|
1095 |
EBL*I5!!_XVE!!XU=WX6M#X0(D@PHIW&A XFAVX6M#X6M#X6M#X6M\XFA]X6M#X6M#X6M#X6M#X5-[X6M#X6M#X6M#X6M#X6M#X6M#X0@@@@@@@@@@@@@@@@@@ |
|
1096 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[51 130 77 64 137 88 66 139 90 70 143 94 84 152 106 90 155 112 126 179 144 129 181 146 155 198 169 180 212 191 205 226 212 36 118 62 46 124 70 51 129 75 57 134 80 79 149 101 93 158 113 99 162 119 45 124 68 46 125 69 47 125 70 48 126 70 75 146 96 74 144 94 83 151 103 109 168 126 119 174 135 216 233 221 50 128 71 59 135 79 63 137 82 144 191 156 62 136 80 62 135 80 70 142 87 82 150 98 107 167 122 143 190 154 150 194 161 164 203 173 195 221 201 226 239 229 86 154 100 188 216 194 84 151 97 94 156 106 218 234 221 82 150 94 241 247 242 84 151 94 96 160 105 124 178 132 121 174 129 167 204 172 89 153 97 104 164 111 97 160 103 96 158 102 158 198 161 220 234 221 109 166 112 119 174 120 128 179 128 123 177 122 121 174 119 135 184 133 129 179 125 225 239 224 145 190 140 179 210 176 188 217 185 190 218 187 159 199 154 160 199 155 187 216 183 194 220 191 198 222 195 176 208 171 255 242 176 255 233 145 255 234 145 183 147 37 190 156 40 187 152 39 187 153 39 255 230 152 174 135 31 179 141 34 178 141 34 184 147 36 255 222 125 167 126 28 170 129 29 170 130 30 174 135 32 254 219 140 254 222 150 254 207 108 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?<_?8??1??C?8@O@@X@@@b') ; yourself); yourself] |
|
1097 |
! ! |
|
1098 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1099 |
||
1100 |
javaProtectedEnumBrowserIcon |
|
1101 |
"This resource specification was automatically generated |
|
1102 |
by the ImageEditor of ST/X." |
|
1103 |
||
1104 |
"Do not manually edit this!! If it is corrupted, |
|
1105 |
the ImageEditor may not be able to read the specification." |
|
1106 |
||
1107 |
" |
|
1108 |
self javaProtectedEnumBrowserIcon inspect |
|
1109 |
ImageEditor openOnClass:self andSelector:#javaProtectedEnumBrowserIcon |
|
1110 |
Icon flushCachedIcons |
|
1111 |
" |
|
1112 |
||
1113 |
<resource: #image> |
|
1114 |
||
1115 |
^Icon |
|
1159 | 1116 |
constantNamed:'GenericToolbarIconLibrary class javaProtectedEnumBrowserIcon' |
1117 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1118 |
Q4]GQ4P-IQ4$KTQGQ4]GQ4]GQ3\]LB(*J#@\M4]GQ4]GQ3\ZMS4=OS4=LAX7Q4]GQ4P]L3MFQ$YFQ#8*GDQGQ4\+K"8.Q$YCN3,1K"8/Q4]GH2X,KDYFNB0, |
1119 |
KB<*H4]GQ10YE1]FQ$YFQ#H?PQ-GQ4\#G!!8^Q$X<MCPUA@QBQ4]GK1<&I$YFNRYCA@@@AD]GQ4PVJB!!FQ$YFAPHB@ DFQ4]GM!!\"N#)EB0\LC@0LA0MGQ4\6 |
|
1120 |
FB\*E@(QD1LSD1DIQ4]GQ4P)HBE@DAHRD!!HHQ4]GQ4]GQ4]GQ4\ND!!HOQ4]GQ4]GQ4]GQ4]GQ04MQ4]GQ4]GQ4]GQ4]GQ4]GQ4]GQ0@@@@@@@@@@@@@@@@@@ |
|
1121 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[255 242 176 255 233 145 255 234 145 183 147 37 190 156 40 187 152 39 187 153 39 255 230 152 174 135 31 179 141 34 178 141 34 184 147 36 255 222 125 167 126 28 170 129 29 170 130 30 174 135 32 254 219 140 254 222 150 254 207 108 217 201 182 219 204 186 140 89 32 142 92 36 142 93 37 143 93 38 144 94 39 144 95 40 145 96 41 147 99 45 147 100 47 148 101 48 149 103 50 151 104 53 152 107 56 153 108 57 154 109 60 155 111 62 158 115 67 158 116 68 159 117 69 160 118 71 161 119 73 163 123 77 165 125 81 165 126 81 166 127 83 169 131 88 170 133 91 176 141 102 178 144 106 180 147 110 182 150 114 185 154 119 186 156 122 187 157 124 190 161 129 192 164 133 194 167 137 199 174 146 204 182 157 206 184 160 209 188 165 211 192 170 213 194 173 212 193 172 214 196 176 216 199 180 225 211 196 231 220 208 255 254 254 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?<_?8??1??C?8@O@@X@@@b') ; yourself); yourself] |
|
1122 |
! ! |
|
1123 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1124 |
||
1125 |
javaProtectedInterfaceBrowserIcon |
|
1126 |
"This resource specification was automatically generated |
|
1127 |
by the ImageEditor of ST/X." |
|
1128 |
||
1129 |
"Do not manually edit this!! If it is corrupted, |
|
1130 |
the ImageEditor may not be able to read the specification." |
|
1131 |
||
1132 |
" |
|
1133 |
self javaProtectedInterfaceBrowserIcon inspect |
|
1134 |
ImageEditor openOnClass:self andSelector:#javaProtectedInterfaceBrowserIcon |
|
1135 |
Icon flushCachedIcons |
|
1136 |
" |
|
1137 |
||
1138 |
<resource: #image> |
|
1139 |
||
1140 |
^Icon |
|
1159 | 1141 |
constantNamed:'GenericToolbarIconLibrary class javaProtectedInterfaceBrowserIcon' |
1142 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1143 |
U%YVU#4MA@HECS5VU%YVU%YVU# BBP0LC@$BNEYVU%YVU# -M1I@PD@RM248U%YVU!!0&L1QUUUUU@QP5I!!1VU%XMB#H2C5UU@CH2L ,PU%YVA#<C@0MUUS0C |
1144 |
@2</A%YVU"$"IBD!!UUTYHRDUD2!!VU%XFI2T HEUUN"@VQTT;U%YVDB0*J39UUQ(9QTEAQUYVU!!4^LCQUUUUUQ$MCP4IGU%YVDQ<HM#XWSD!!MST5MRDQVU%XQ |
|
1145 |
H3DGF4-RUEQTUEIJU%YVU#4NK"\XTUMST5MIU%YVU%YVU%YVU%YOT5MPU%YVU%YVU%YVU%YVU$9NU%YVU%YVU%YVU%YVU%YVU%YVU @@@@@@@@@@@@@@@@@@ |
|
1146 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[197 188 224 215 209 233 112 94 176 111 93 174 114 96 177 113 95 176 115 97 177 117 100 177 120 102 180 125 108 184 125 108 183 130 114 185 143 128 194 151 136 198 149 135 197 158 145 203 156 143 201 159 146 203 165 153 207 167 155 207 168 156 208 168 156 207 167 155 205 171 160 209 178 167 213 174 164 209 177 167 212 183 173 216 220 215 236 226 222 240 85 66 159 93 74 164 90 72 159 89 71 158 92 73 160 94 75 164 93 74 161 93 75 161 97 79 167 96 79 166 97 79 166 98 80 167 98 80 165 96 79 162 101 83 168 101 84 169 108 91 173 107 91 172 111 94 174 117 100 178 131 116 188 137 122 191 134 120 187 139 125 191 138 124 190 142 128 193 161 149 204 169 159 207 174 165 210 181 172 216 185 176 218 204 198 228 94 78 161 105 89 172 174 165 212 255 242 176 255 233 145 255 234 145 183 147 37 190 156 40 187 152 39 187 153 39 255 230 152 174 135 31 179 141 34 178 141 34 184 147 36 255 222 125 167 126 28 170 129 29 170 130 30 174 135 32 254 219 140 254 222 150 254 207 108 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?<_?8??1??C?8@O@@X@@@b') ; yourself); yourself] |
|
1147 |
! ! |
|
1148 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1149 |
||
1150 |
javaPublicClassBrowserIcon |
|
1151 |
"This resource specification was automatically generated |
|
1152 |
by the ImageEditor of ST/X." |
|
1153 |
||
1154 |
"Do not manually edit this!! If it is corrupted, |
|
1155 |
the ImageEditor may not be able to read the specification." |
|
1156 |
||
1157 |
" |
|
1158 |
self javaClassBrowserIcon inspect |
|
1159 |
ImageEditor openOnClass:self andSelector:#javaClassBrowserIcon |
|
1160 |
Icon flushCachedIcons |
|
1161 |
" |
|
1162 |
||
1163 |
<resource: #image> |
|
1164 |
||
1165 |
^Icon |
|
1159 | 1166 |
constantNamed:'GenericToolbarIconLibrary class javaClassBrowserIcon' |
1167 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1168 |
VU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU%YVU\OF@4YC5]YVU%YVU%YVP$MO4YFQ#<ABU%YVU%YVP$[R5YTUUQRQ0(IVU%YVU\MRUAXVE!!X |
1169 |
VD=H@U]YVU$GPEEXVEMMS%!!LR$@PVU%YASYBVDMAPTEEQDP>AU%YVPDVI5 (EALSEA\\H@1YVU$EGQ)XJQ8"H!!H.C"PEVU%YDBD3M5 /I!!=XOR4*@E%YVU\J |
|
1170 |
LC(4VE!!XMS02B%]YVU%YDP,#NC$;NS 1@!!EYVU%YVU$QERT+KB,%EQEYVU%YVU%YVU\F@0PCBE]YVU%YVU%YVU%YVU%YVU%YVU%YVP@@@@@@@@@@@@@@@@@@ |
|
1171 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[108 168 129 51 130 77 54 131 79 64 137 88 66 139 90 70 143 94 84 152 106 90 155 112 92 156 113 130 179 146 36 118 62 46 124 70 51 129 75 57 134 80 88 156 109 93 158 113 99 162 119 129 178 144 162 201 174 45 124 68 46 125 69 47 125 70 48 126 70 51 129 73 75 146 96 74 144 94 119 174 135 50 128 71 54 132 74 59 135 79 63 137 82 142 189 154 62 136 79 62 136 80 62 135 80 70 142 87 71 143 88 82 150 98 107 167 122 143 190 154 195 221 201 226 239 229 82 150 96 86 154 100 86 153 100 93 156 106 171 207 179 188 216 194 84 151 97 87 153 100 88 153 100 94 156 106 218 234 221 230 241 232 82 150 94 241 247 242 96 160 105 124 178 132 121 174 129 133 184 140 140 188 147 240 247 241 89 153 97 104 164 111 97 160 103 96 158 102 158 198 161 220 234 221 103 162 106 109 166 112 119 174 120 128 179 128 123 177 122 121 174 119 135 184 133 129 179 125 225 239 224 145 190 140 179 210 176 188 217 185 190 218 187 159 199 154 160 199 155 187 216 183 194 220 191 198 222 195 176 208 171 201 208 199 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@_0C? _?C?>O?8??#?>O?8??#?>G?0O>@_0@@@b') ; yourself); yourself] |
|
1172 |
||
1173 |
"Created: / 23-10-2011 / 14:41:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1174 |
! ! |
|
1175 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1176 |
||
1177 |
javaPublicEnumBrowserIcon |
|
1178 |
"This resource specification was automatically generated |
|
1179 |
by the ImageEditor of ST/X." |
|
1180 |
||
1181 |
"Do not manually edit this!! If it is corrupted, |
|
1182 |
the ImageEditor may not be able to read the specification." |
|
1183 |
||
1184 |
" |
|
1185 |
self javaPublicEnumBrowserIcon inspect |
|
1186 |
ImageEditor openOnClass:self andSelector:#javaPublicEnumBrowserIcon |
|
1187 |
Icon flushCachedIcons |
|
1188 |
" |
|
1189 |
||
1190 |
<resource: #image> |
|
1191 |
||
1192 |
^Icon |
|
1159 | 1193 |
constantNamed:'GenericToolbarIconLibrary class javaPublicEnumBrowserIcon' |
1194 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1195 |
LC@0LB8ZD@ OF"80LC@0LC@0LBTHGQXVE!!4FIS@0LC@0LBTDH2,+J2,+GP@%LC@0LB8HHRD/K2</K20VA"80LC@WF1,[K2<-JR$_F1,\LC@0C!!DYFR</I!!$Y |
1196 |
FQ0VC#@0L@XC@PD/K2</K2@GB T0LC@NBP$IK2<*H"H[BP$NLC@0G@(QDR</I1DQDQDQG#@0LB8@D1L/K2</K20V@B80LC@0I@DMJB (JB ]A2P0LC@0LC@$ |
|
1197 |
@!!HVEQXR@"P0LC@0LC@0LB8TB00KFB80LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0LC@0L@@@@@@@@@@@@@@@@@@@ |
|
1198 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[140 89 32 142 92 36 142 93 37 143 93 38 144 94 39 144 95 40 145 96 41 146 97 43 147 99 45 147 100 47 148 101 48 149 103 50 151 104 53 152 107 56 153 108 57 154 109 60 155 111 62 158 115 67 158 116 68 159 117 69 160 118 71 161 119 72 161 119 73 163 123 77 164 124 79 165 125 81 165 126 81 166 127 83 169 131 88 170 133 91 175 139 100 176 141 102 178 144 106 180 147 110 182 150 114 185 154 119 186 156 122 187 157 124 190 161 129 192 164 133 194 167 137 199 174 146 204 182 157 206 184 160 209 188 165 216 199 180 225 211 196 255 254 254 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?<_?0?>A?0C>@@@@@@@@@b') ; yourself); yourself] |
|
1199 |
! ! |
|
1200 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1201 |
||
1202 |
javaPublicInterfaceBrowserIcon |
|
1203 |
"This resource specification was automatically generated |
|
1204 |
by the ImageEditor of ST/X." |
|
1205 |
||
1206 |
"Do not manually edit this!! If it is corrupted, |
|
1207 |
the ImageEditor may not be able to read the specification." |
|
1208 |
||
1209 |
" |
|
1210 |
self javaPublicInterfaceBrowserIcon inspect |
|
1211 |
ImageEditor openOnClass:self andSelector:#javaPublicInterfaceBrowserIcon |
|
1212 |
Icon flushCachedIcons |
|
1213 |
" |
|
1214 |
||
1215 |
<resource: #image> |
|
1216 |
||
1217 |
^Icon |
|
1159 | 1218 |
constantNamed:'GenericToolbarIconLibrary class javaPublicInterfaceBrowserIcon' |
1219 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1220 |
P4MCP38NAPLFC#9CP4MCP4MCP3,CB 4MCP(CN4MCP4MCP3,.N!!UAPTDUN"8;P4MCP1$%M!!YBP$IB@!!X8IQ%CP4LNB3T5DTIB@CT5MP0RP4MCA4@DA@QBP#4D |
1221 |
AC@0A4MCP2 H!!<_P$HWG1<"GB]CP4LGI"P^G$IBOA8_H"LGP4MCD"4*J3=BP!! ?J2,,EDMCP1([L3]BP$IB@S\2F1%CP4MCD14INS$9NS$1JQMCP4MCP4LS |
|
1222 |
HSPHB@ 4HQMCP4MCP4MCP38OK2X/DC9CP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP4MCP0@@@@@@@@@@@@@@@@@@ |
|
1223 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[197 188 224 197 189 222 215 209 233 112 94 176 111 93 174 114 96 177 113 95 176 115 97 177 117 100 177 120 102 180 125 108 184 125 108 183 130 114 185 143 128 194 151 136 198 149 135 197 152 138 199 158 145 203 156 143 201 159 146 203 162 150 204 165 153 207 168 156 208 174 164 209 177 167 212 220 215 236 226 222 240 85 66 159 90 71 159 93 74 164 90 72 159 89 71 158 92 73 160 94 75 164 93 74 161 92 74 160 93 75 161 97 79 167 96 79 166 97 79 166 98 80 167 100 82 168 98 80 165 96 79 162 100 82 167 101 83 168 101 84 169 108 91 173 107 91 172 108 92 172 113 96 177 111 94 174 117 100 178 131 116 188 137 122 191 134 120 187 139 125 191 138 124 190 142 128 193 161 149 204 174 165 210 185 176 218 204 198 228 94 78 161 105 89 172 174 165 212 255 255 255 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C>@_<C?8_?1??G?<_?1??G?<_?0?>A?0C>@@@@@@@@@b') ; yourself); yourself] |
|
1224 |
! ! |
|
1225 |
!GenericToolbarIconLibrary class methodsFor:'image specs-tools-SystemBrowser-java'! |
|
1226 |
||
1227 |
javaRuntimeExceptionBrowserIcon |
|
1228 |
"This resource specification was automatically generated |
|
1229 |
by the ImageEditor of ST/X." |
|
1230 |
||
1231 |
"Do not manually edit this!! If it is corrupted, |
|
1232 |
the ImageEditor may not be able to read the specification." |
|
1233 |
||
1234 |
" |
|
1235 |
self javaRuntimeExceptionBrowserIcon inspect |
|
1236 |
ImageEditor openOnClass:self andSelector:#javaRuntimeExceptionBrowserIcon |
|
1237 |
Icon flushCachedIcons |
|
1238 |
" |
|
1239 |
||
1240 |
<resource: #image> |
|
1241 |
||
1242 |
^Icon |
|
1159 | 1243 |
constantNamed:'GenericToolbarIconLibrary class javaRuntimeExceptionBrowserIcon' |
1244 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
1038 | 1245 |
D1LSD1LMB ,SD1LSD1LSD1LSD1LSCP(KD1LSD1LSD1LSD1LSD04JB1LSB@8NBALSD1LSD1LMB ,SD08OC08SD1LSD1LSCP(KD1LND!!DND1LSD1LSD04JB1LS |
1246 |
D@@@DALSD1LSCP0LB 0SD0DB@0DSD1LSD04KB 0SD1LGAPPGD1LSD1LSD1LSD1LSA 8NA!!LSD1LSD1LSD1LSD1LGA1LSD1LSD1LSD1LSD1LSD1LSD1LSD1LS |
|
1247 |
D1LSD1LSBP8NBQLSD1LSD1LSD1LSD08QDP8SD1LSD1LSD1LSD1LGDQDGD1LSD1LSD1LSD1LSB@\GBALSD1LSD1LSD1LSD1LSD1LSD0@@@@@@@@@@@@@@@@@@ |
|
1248 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[244 120 123 200 39 47 244 102 111 243 103 111 243 88 99 242 87 99 233 164 170 200 25 42 242 197 202 244 208 212 40 98 150 81 128 170 110 150 185 194 211 226 201 71 62 246 146 142 201 58 56 246 136 134 246 135 135 255 255 255]; mask:((ImageMask new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A0@G@@\<A30GO@\<G30^O@@<@A @@@@<@C0@O@@<@@@b') ; yourself); yourself] |
|
752 | 1249 |
! ! |
1250 |
!Integer class methodsFor:'queries'! |
|
1251 |
||
1252 |
isJavaPrimitiveType |
|
1253 |
||
1254 |
^true |
|
1255 |
||
1256 |
"Created: / 11-02-2011 / 11:12:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1257 |
! ! |
|
1258 |
!Integer class methodsFor:'accessing'! |
|
1259 |
||
851 | 1260 |
javaArrayClass |
873
933263bd2d27
Fixes for primitive array types (uses Signed* variant of an array)
vranyj1
parents:
866
diff
changeset
|
1261 |
^ SignedIntegerArray |
851 | 1262 |
|
1263 |
"Created: / 11-02-2011 / 10:51:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1264 |
! ! |
|
917 | 1265 |
!Integer class methodsFor:'autoboxing support'! |
1266 |
||
1159 | 1267 |
javaBox: anObject |
917 | 1268 |
| wrapper | |
1269 |
||
1033 | 1270 |
wrapper := (JavaVM classForName: 'java.lang.Integer') new. |
917 | 1271 |
wrapper perform: #'<init>(I)V' with: anObject. |
1033 | 1272 |
^ wrapper |
917 | 1273 |
|
1274 |
"Created: / 16-08-2011 / 09:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1275 |
! ! |
|
851 | 1276 |
!Integer class methodsFor:'accessing'! |
1277 |
||
752 | 1278 |
javaName |
1279 |
||
1280 |
^'int'. |
|
1281 |
||
1282 |
"Modified: / 25-02-2011 / 18:59:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1283 |
! ! |
|
1204 | 1284 |
!Integer class methodsFor:'autoboxing support'! |
1285 |
||
1286 |
javaUnbox: object onError: errorBlock |
|
1287 |
||
1288 |
^self javaUnbox: object onError: errorBlock |
|
1289 |
min: "Integer.MIN_VALUE"-2147483648 |
|
1290 |
max: "Integer.MAX_VALUE" 2147483647 |
|
1291 |
||
1292 |
"Created: / 25-11-2011 / 19:10:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1293 |
! ! |
|
1205 | 1294 |
!Integer class methodsFor:'autoboxing support'! |
1295 |
||
1296 |
javaUnbox: object onError: errorBlock min: min max: max |
|
1297 |
||
1298 |
| value | |
|
1299 |
||
1300 |
(#( 'java/lang/Byte' |
|
1301 |
'java/lang/Short' |
|
1302 |
'java/lang/Integer' |
|
1303 |
"'java/lang/Long'" ) includes: object class name) ifFalse:[ |
|
1304 |
errorBlock value. |
|
1305 |
]. |
|
1306 |
||
1307 |
value := object instVarNamed:#value. |
|
1308 |
(value between: min and: max) ifFalse:[ |
|
1309 |
errorBlock value. |
|
1310 |
]. |
|
1311 |
^value |
|
1312 |
||
1313 |
"Created: / 22-11-2011 / 11:43:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1314 |
! ! |
|
752 | 1315 |
!LargeInteger class methodsFor:'queries'! |
1316 |
||
1317 |
isJavaPrimitiveType |
|
1318 |
||
1319 |
^true |
|
1320 |
||
1321 |
"Created: / 04-02-2011 / 11:55:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1322 |
! ! |
|
1323 |
!LargeInteger class methodsFor:'accessing'! |
|
1324 |
||
851 | 1325 |
javaArrayClass |
873
933263bd2d27
Fixes for primitive array types (uses Signed* variant of an array)
vranyj1
parents:
866
diff
changeset
|
1326 |
^ SignedLongIntegerArray |
851 | 1327 |
|
1328 |
"Created: / 11-02-2011 / 10:51:32 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1329 |
! ! |
|
917 | 1330 |
!LargeInteger class methodsFor:'autoboxing support'! |
1331 |
||
1159 | 1332 |
javaBox: anObject |
917 | 1333 |
| wrapper | |
1334 |
||
1033 | 1335 |
wrapper := (JavaVM classForName: 'java.lang.Long') new. |
917 | 1336 |
wrapper perform: #'<init>(J)V' with: anObject. |
1033 | 1337 |
^ wrapper |
917 | 1338 |
|
1339 |
"Created: / 16-08-2011 / 09:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1340 |
! ! |
|
851 | 1341 |
!LargeInteger class methodsFor:'accessing'! |
1342 |
||
752 | 1343 |
javaName |
1344 |
||
1345 |
^'long'. |
|
1346 |
||
1347 |
"Modified: / 25-02-2011 / 18:59:31 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1348 |
! ! |
|
1204 | 1349 |
!LargeInteger class methodsFor:'autoboxing support'! |
1350 |
||
1351 |
javaUnbox: object onError: errorBlock |
|
1352 |
||
1353 |
| value | |
|
1354 |
||
1355 |
(object class name = 'java/lang/Long') ifFalse:[ |
|
1356 |
errorBlock value. |
|
1357 |
]. |
|
1358 |
||
1359 |
value := object instVarNamed:#value. |
|
1360 |
(value between: "Integer.MIN_VALUE"-9223372036854775808 and: "Integer.MAX_VALUE" 9223372036854775807) ifFalse:[ |
|
1361 |
errorBlock value. |
|
1362 |
]. |
|
1363 |
^value |
|
1364 |
||
1365 |
"Created: / 22-11-2011 / 11:45:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1366 |
! ! |
|
752 | 1367 |
!Object class methodsFor:'queries'! |
1368 |
||
1369 |
isJavaArrayClass |
|
1370 |
||
1371 |
^false |
|
1372 |
||
1373 |
"Created: / 19-12-2010 / 17:05:10 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1374 |
! ! |
|
1375 |
!Object class methodsFor:'queries'! |
|
1376 |
||
1377 |
isJavaClassType |
|
1378 |
||
1379 |
^false |
|
1380 |
||
1381 |
"Created: / 11-02-2011 / 08:08:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1382 |
! ! |
|
1383 |
!Object class methodsFor:'queries'! |
|
1384 |
||
1385 |
isJavaPrimitiveType |
|
1386 |
||
1387 |
^false |
|
1388 |
||
1389 |
"Created: / 20-12-2010 / 21:52:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1390 |
! ! |
|
1391 |
!Object class methodsFor:'queries'! |
|
1392 |
||
1393 |
isJavaReferenceType |
|
1394 |
||
1395 |
^false |
|
1396 |
||
1397 |
"Created: / 20-12-2010 / 21:52:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1398 |
! ! |
|
1399 |
!Object class methodsFor:'queries'! |
|
1400 |
||
1401 |
isJavaType |
|
1402 |
||
1403 |
^false |
|
1404 |
||
1405 |
"Created: / 20-12-2010 / 21:52:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1406 |
! ! |
|
1276
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1407 |
!ProjectDefinition class methodsFor:'description - java'! |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1408 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1409 |
javaClassPath |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1410 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1411 |
"Defines a Java class path containing java classes/jars |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1412 |
required by this package" |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1413 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1414 |
^#() |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1415 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1416 |
"Created: / 13-12-2011 / 23:48:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1417 |
! ! |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1418 |
!ProjectDefinition class methodsFor:'description - java'! |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1419 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1420 |
javaSourcePath |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1421 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1422 |
"Defines paths to Java source files (for packages that |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1423 |
contains Java code" |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1424 |
^#() |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1425 |
|
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1426 |
"Created: / 13-12-2011 / 23:49:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
5a302466ecb8
Default class path hanling changed, now each Smalltalk/X package can define its own class path, that is included initial class path
vranyj1
parents:
1263
diff
changeset
|
1427 |
! ! |
752 | 1428 |
!ShortFloat class methodsFor:'queries'! |
1429 |
||
1430 |
isJavaPrimitiveType |
|
1431 |
||
1432 |
^true |
|
1433 |
||
1434 |
"Created: / 06-02-2011 / 17:21:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1435 |
! ! |
|
1436 |
!ShortFloat class methodsFor:'accessing'! |
|
1437 |
||
851 | 1438 |
javaArrayClass |
1439 |
^ FloatArray |
|
1440 |
||
1441 |
"Created: / 11-02-2011 / 10:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1442 |
! ! |
|
917 | 1443 |
!ShortFloat class methodsFor:'autoboxing support'! |
1444 |
||
1159 | 1445 |
javaBox: anObject |
917 | 1446 |
| wrapper | |
1447 |
||
1033 | 1448 |
wrapper := (JavaVM classForName: 'java.lang.Float') new. |
917 | 1449 |
wrapper perform: #'<init>(F)V' with: anObject. |
1033 | 1450 |
^ wrapper |
917 | 1451 |
|
1452 |
"Created: / 16-08-2011 / 09:58:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1453 |
! ! |
|
851 | 1454 |
!ShortFloat class methodsFor:'accessing'! |
1455 |
||
752 | 1456 |
javaName |
1457 |
||
1458 |
^'float'. |
|
1459 |
||
1460 |
"Modified: / 25-02-2011 / 18:59:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1461 |
! ! |
|
866 | 1462 |
!SignedIntegerArray class methodsFor:'testing'! |
1463 |
||
1464 |
isInterface |
|
1465 |
||
1466 |
^false |
|
1467 |
! ! |
|
1468 |
!SignedIntegerArray class methodsFor:'queries'! |
|
1469 |
||
1470 |
isJavaArrayClass |
|
1471 |
||
1472 |
^true |
|
1473 |
||
1474 |
"Created: / 06-02-2011 / 15:16:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1475 |
! ! |
|
905 | 1476 |
!SignedIntegerArray class methodsFor:'accessing-java'! |
1477 |
||
1478 |
javaArrayClass |
|
1479 |
||
1480 |
^JavaArray javaArrayClassFor: SignedIntegerArray |
|
1481 |
||
1482 |
"Created: / 11-06-2011 / 23:42:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1483 |
"Modified: / 10-08-2011 / 22:47:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1484 |
! ! |
|
866 | 1485 |
!SignedIntegerArray class methodsFor:'accessing'! |
1486 |
||
1487 |
javaComponentClass |
|
1488 |
||
1489 |
^ Integer |
|
1490 |
||
1491 |
"Created: / 25-06-2011 / 08:38:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1492 |
! ! |
|
1493 |
!SignedIntegerArray class methodsFor:'accessing'! |
|
1494 |
||
1495 |
javaName |
|
1496 |
||
1497 |
^'[I'. |
|
1498 |
||
1499 |
"Modified: / 25-02-2011 / 19:03:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1500 |
! ! |
|
1501 |
!SignedLongIntegerArray class methodsFor:'testing'! |
|
1502 |
||
1503 |
isInterface |
|
1504 |
||
1505 |
^false |
|
1506 |
! ! |
|
1507 |
!SignedLongIntegerArray class methodsFor:'queries'! |
|
1508 |
||
1509 |
isJavaArrayClass |
|
1510 |
||
1511 |
^true |
|
1512 |
||
1513 |
"Created: / 20-12-2010 / 22:47:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1514 |
! ! |
|
1515 |
!SignedLongIntegerArray class methodsFor:'queries'! |
|
1516 |
||
1517 |
isJavaReferenceType |
|
1518 |
||
1519 |
"Java arrays are reference types" |
|
1520 |
^true |
|
1521 |
||
1522 |
"Created: / 20-12-2010 / 22:30:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1523 |
! ! |
|
927 | 1524 |
!SignedLongIntegerArray class methodsFor:'accessing-java'! |
1525 |
||
1526 |
javaArrayClass |
|
1527 |
||
1528 |
^JavaArray javaArrayClassFor: SignedLongIntegerArray |
|
1529 |
||
1530 |
"Modified: / 10-08-2011 / 22:47:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1531 |
"Created: / 26-08-2011 / 18:29:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1532 |
! ! |
|
866 | 1533 |
!SignedLongIntegerArray class methodsFor:'accessing'! |
1534 |
||
1535 |
javaComponentClass |
|
1536 |
||
1537 |
^LargeInteger |
|
1538 |
||
1539 |
"Modified: / 25-06-2011 / 08:38:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1540 |
! ! |
|
1541 |
!SignedLongIntegerArray class methodsFor:'accessing'! |
|
1542 |
||
1543 |
javaName |
|
1544 |
||
1545 |
^'[J'. |
|
1546 |
||
1547 |
"Modified: / 25-02-2011 / 19:03:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1548 |
! ! |
|
752 | 1549 |
!UndefinedObject class methodsFor:'queries'! |
1550 |
||
1551 |
isJavaPrimitiveType |
|
1552 |
||
1553 |
"void" |
|
1554 |
||
1555 |
^true |
|
1556 |
||
1557 |
"Created: / 21-12-2010 / 22:52:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1558 |
! ! |
|
1559 |
!UndefinedObject class methodsFor:'accessing'! |
|
1560 |
||
1561 |
javaName |
|
1562 |
||
1563 |
^'void'. |
|
1564 |
||
1565 |
"Modified: / 25-02-2011 / 18:59:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1566 |
! ! |
|
826
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
1567 |
!WordArray class methodsFor:'testing'! |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
1568 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
1569 |
isInterface |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
1570 |
|
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
1571 |
^false |
db53b9c842d7
- TestletTestCaseProxy: debugging support improved.
vranyj1
parents:
774
diff
changeset
|
1572 |
! ! |
752 | 1573 |
!WordArray class methodsFor:'queries'! |
1574 |
||
1575 |
isJavaArrayClass |
|
1576 |
||
1577 |
^true |
|
1578 |
||
1579 |
"Created: / 20-12-2010 / 22:47:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1580 |
! ! |
|
1581 |
!WordArray class methodsFor:'queries'! |
|
1582 |
||
1583 |
isJavaReferenceType |
|
1584 |
||
1585 |
"Java arrays are reference types" |
|
1586 |
^true |
|
1587 |
||
1588 |
"Created: / 20-12-2010 / 22:30:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1589 |
! ! |
|
1590 |
!WordArray class methodsFor:'accessing-java'! |
|
1591 |
||
905 | 1592 |
javaArrayClass |
1593 |
||
1594 |
^JavaArray javaArrayClassFor: WordArray |
|
1595 |
||
1596 |
"Created: / 11-06-2011 / 23:42:01 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1597 |
"Modified: / 10-08-2011 / 22:46:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1598 |
! ! |
|
1599 |
!WordArray class methodsFor:'accessing-java'! |
|
1600 |
||
752 | 1601 |
javaComponentClass |
1602 |
||
1159 | 1603 |
^JavaShort |
752 | 1604 |
|
1605 |
"Created: / 20-12-2010 / 22:13:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
1606 |
! ! |
|
1607 |
!WordArray class methodsFor:'accessing'! |
|
1608 |
||
1609 |
javaName |
|
1225
30600ca8173c
ok now we enabled permissions and groovy maybe does not work :/
hlopkmar
parents:
1209
diff
changeset
|
1610 |
^ '[S'. |
752 | 1611 |
|
1225
30600ca8173c
ok now we enabled permissions and groovy maybe does not work :/
hlopkmar
parents:
1209
diff
changeset
|
1612 |
"Modified: / 06-12-2011 / 16:43:59 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
752 | 1613 |
! ! |
1020 | 1614 |
!stx_libjava class methodsFor:'documentation'! |
1615 |
||
1616 |
extensionsVersion_SVN |
|
1617 |
^ '$Id$' |
|
1618 |
! ! |