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