|
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:'' |
|
26 poolDictionaries:'' |
|
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 |
|
67 "Returns an java.lang.reflect.Constructor[] with all constructors |
|
68 declared by this class" |
|
69 |
|
70 ^ (JavaVM classForName:'java.lang.reflect.Constructor' definedBy: nil) javaArrayClass new:0. |
|
71 |
|
72 "Modified: / 18-05-2013 / 10:57:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
73 ! |
|
74 |
|
75 getDeclaredFields:publicOnly |
|
76 "Returns an java.lang.reflect.Field[] with all constructors |
|
77 declared by this class." |
|
78 |
|
79 ^(JavaVM classForName:'java.lang.reflect.Field' definedBy: nil) javaArrayClass new:0. |
|
80 |
|
81 "Modified: / 18-05-2013 / 10:58:00 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
82 ! |
|
83 |
|
84 getDeclaredMethods:publicOnly |
|
85 "Returns an java.lang.reflect.Method[] with all methods |
|
86 declared by this class" |
|
87 |
|
88 ^ (JavaVM classForName:'java.lang.reflect.Method' definedBy: nil) javaArrayClass new:0. |
|
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 |