author | Claus Gittinger <cg@exept.de> |
Fri, 01 Nov 2019 13:44:29 +0100 | |
branch | cvs_MAIN |
changeset 3973 | ee0b2d717637 |
parent 3517 | c541d49ddaa5 |
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 |
||
3517 | 23 |
"{ NameSpace: Smalltalk }" |
24 |
||
2624 | 25 |
JavaMirror subclass:#JavaPrimitiveMirror |
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 |
!JavaPrimitiveMirror 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 |
!JavaPrimitiveMirror methodsFor:'accessing'! |
|
59 |
||
60 |
getClassLoader |
|
61 |
"Returns a class loader that loaded this class" |
|
62 |
||
63 |
^ nil |
|
64 |
||
65 |
"Modified: / 31-07-2012 / 18:35:33 / 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:56 / 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:58:00 / 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:58:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
93 |
! |
|
94 |
||
95 |
getInterfaces |
|
96 |
"Return a list if interfaces" |
|
97 |
||
98 |
^ #() |
|
99 |
||
100 |
"Modified: / 22-08-2012 / 11:07:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
101 |
! |
|
102 |
||
103 |
getModifiers |
|
104 |
"Return class modifiers (public/abstract/final...)" |
|
105 |
||
3517 | 106 |
^ (JavaConstants ACC_ABSTRACT bitOr: JavaConstants ACC_FINAL) bitOr: JavaConstants ACC_PUBLIC |
2624 | 107 |
|
108 |
"Modified: / 22-08-2012 / 11:02:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
109 |
! ! |
|
110 |
||
111 |
!JavaPrimitiveMirror class methodsFor:'documentation'! |
|
112 |
||
3517 | 113 |
version |
114 |
^ '$Header$' |
|
115 |
! |
|
116 |
||
117 |
version_CVS |
|
118 |
^ '$Header$' |
|
119 |
! |
|
120 |
||
2624 | 121 |
version_HG |
122 |
||
123 |
^ '$Changeset: <not expanded> $' |
|
124 |
! ! |
|
125 |