author | Claus Gittinger <cg@exept.de> |
Fri, 01 Nov 2019 13:44:29 +0100 | |
branch | cvs_MAIN |
changeset 3973 | ee0b2d717637 |
parent 3521 | 9e0b0a92d799 |
permissions | -rw-r--r-- |
2624 | 1 |
" |
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2966
diff
changeset
|
2 |
COPYRIGHT (c) 1996-2015 by Claus Gittinger |
2624 | 3 |
|
4 |
New code and modifications done at SWING Research Group [1]: |
|
5 |
||
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2966
diff
changeset
|
6 |
COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko |
2624 | 7 |
SWING Research Group, Czech Technical University in Prague |
8 |
||
9 |
This software is furnished under a license and may be used |
|
10 |
only in accordance with the terms of that license and with the |
|
11 |
inclusion of the above copyright notice. This software may not |
|
12 |
be provided or otherwise made available to, or used by, any |
|
13 |
other person. No title to or ownership of the software is |
|
14 |
hereby transferred. |
|
15 |
||
16 |
[1] Code written at SWING Research Group contains a signature |
|
17 |
of one of the above copright owners. For exact set of such code, |
|
18 |
see the differences between this version and version stx:libjava |
|
19 |
as of 1.9.2010 |
|
20 |
" |
|
21 |
"{ Package: 'stx:libjava' }" |
|
22 |
||
3521 | 23 |
"{ NameSpace: Smalltalk }" |
24 |
||
2624 | 25 |
JavaMirror subclass:#JavaArrayMirror |
26 |
instanceVariableNames:'' |
|
27 |
classVariableNames:'' |
|
2625
a91a1db9718e
Make JavaMirror to access classes through pool vars.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2624
diff
changeset
|
28 |
poolDictionaries:'JavaVMData' |
2624 | 29 |
category:'Languages-Java-Classes' |
30 |
! |
|
31 |
||
32 |
!JavaArrayMirror class methodsFor:'documentation'! |
|
33 |
||
34 |
copyright |
|
35 |
" |
|
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2966
diff
changeset
|
36 |
COPYRIGHT (c) 1996-2015 by Claus Gittinger |
2624 | 37 |
|
38 |
New code and modifications done at SWING Research Group [1]: |
|
39 |
||
3324
a58245c0e83a
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2966
diff
changeset
|
40 |
COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko |
2624 | 41 |
SWING Research Group, Czech Technical University in Prague |
42 |
||
43 |
This software is furnished under a license and may be used |
|
44 |
only in accordance with the terms of that license and with the |
|
45 |
inclusion of the above copyright notice. This software may not |
|
46 |
be provided or otherwise made available to, or used by, any |
|
47 |
other person. No title to or ownership of the software is |
|
48 |
hereby transferred. |
|
49 |
||
50 |
[1] Code written at SWING Research Group contains a signature |
|
51 |
of one of the above copright owners. For exact set of such code, |
|
52 |
see the differences between this version and version stx:libjava |
|
53 |
as of 1.9.2010 |
|
54 |
||
55 |
" |
|
56 |
! ! |
|
57 |
||
58 |
!JavaArrayMirror methodsFor:'accessing'! |
|
59 |
||
60 |
getClassLoader |
|
61 |
"Returns a class loader that loaded this class" |
|
62 |
||
63 |
^ klass javaComponentClass javaMirror getClassLoader |
|
64 |
||
65 |
"Modified: / 31-07-2012 / 18:35:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
66 |
! |
|
67 |
||
68 |
getDeclaredConstructors:publicOnly |
|
2966 | 69 |
"Returns an java.lang.reflect.Constructor[] with all constructors |
2624 | 70 |
declared by this class" |
71 |
||
2966 | 72 |
^ _java_lang_reflect_Constructor_CLASS javaArrayClass new:0. |
2624 | 73 |
|
74 |
"Modified: / 18-05-2013 / 10:57:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
75 |
! |
|
76 |
||
77 |
getDeclaredFields:publicOnly |
|
2966 | 78 |
"Returns an java.lang.reflect.Field[] with all constructors |
2624 | 79 |
declared by this class." |
80 |
||
2966 | 81 |
^_java_lang_reflect_Field_CLASS javaArrayClass new:0. |
2624 | 82 |
|
83 |
"Modified: / 18-05-2013 / 10:57:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
84 |
! |
|
85 |
||
2966 | 86 |
getDeclaredMethods:publicOnly |
87 |
"Returns an java.lang.reflect.Method[] with all methods |
|
2624 | 88 |
declared by this class" |
2966 | 89 |
|
90 |
^ _java_lang_reflect_Method_CLASS javaArrayClass new:0. |
|
2624 | 91 |
|
92 |
"Modified: / 18-05-2013 / 10:57:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
93 |
! |
|
94 |
||
95 |
getInterfaces |
|
96 |
"Return a list if interfaces" |
|
97 |
||
2966 | 98 |
^ Array |
2624 | 99 |
with: (JavaVM classForName: 'java.lang.Cloneable' definedBy: nil) |
100 |
with: (JavaVM classForName: 'java.io.Serializable' definedBy: nil) |
|
101 |
||
102 |
"Modified: / 18-05-2013 / 10:57:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
103 |
! |
|
104 |
||
105 |
getModifiers |
|
106 |
"Return class modifiers (public/abstract/final...)" |
|
107 |
||
3521 | 108 |
^ (JavaConstants ACC_ABSTRACT bitOr: JavaConstants ACC_FINAL) bitOr: JavaConstants ACC_PUBLIC |
2624 | 109 |
|
110 |
"Modified: / 22-08-2012 / 11:02:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
111 |
! ! |
|
112 |
||
113 |
!JavaArrayMirror class methodsFor:'documentation'! |
|
114 |
||
3521 | 115 |
version |
116 |
^ '$Header$' |
|
117 |
! |
|
118 |
||
119 |
version_CVS |
|
120 |
^ '$Header$' |
|
121 |
! |
|
122 |
||
2624 | 123 |
version_HG |
124 |
||
125 |
^ '$Changeset: <not expanded> $' |
|
126 |
! ! |
|
127 |