author | vranyj1 |
Thu, 23 Aug 2012 10:12:51 +0000 | |
branch | jk_new_structure |
changeset 1672 | 9548e5b17895 |
parent 1648 | ba54c818827d |
child 1685 | f2ced1b724de |
permissions | -rw-r--r-- |
1046 | 1 |
" |
2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
1152 | 3 |
|
1155 | 4 |
New code and modifications done at SWING Research Group [1]: |
1152 | 5 |
|
1046 | 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 |
||
1155 | 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 |
|
1152 | 19 |
as of 1.9.2010 |
1046 | 20 |
" |
21 |
"{ Package: 'stx:libjava' }" |
|
22 |
||
23 |
SharedPool subclass:#JavaConstants |
|
24 |
instanceVariableNames:'' |
|
25 |
classVariableNames:'ACC_PUBLIC ACC_PRIVATE ACC_PROTECTED ACC_STATIC ACC_FINAL |
|
26 |
ACC_SYNCHRONIZED ACC_BRIDGE ACC_VARGARS ACC_NATIVE ACC_ABSTRACT |
|
27 |
ACC_STRICT ACC_SYNTHETIC ACC_SUPER ACC_INTERFACE ACC_ANNOTATION |
|
1648 | 28 |
ACC_ENUM ACC_VOLATILE ACC_TRANSIENT ACC_OBSOLETE ACX_INITIALIZED |
29 |
ACX_INITIALIZING ACX_BREAKPNT ACX_HASHANDLER ACX_HASFINALLY |
|
30 |
AXC_RESOLVED' |
|
1046 | 31 |
poolDictionaries:'' |
32 |
category:'Languages-Java-Support' |
|
33 |
! |
|
34 |
||
35 |
!JavaConstants class methodsFor:'documentation'! |
|
36 |
||
37 |
copyright |
|
38 |
" |
|
39 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
1152 | 40 |
|
1155 | 41 |
New code and modifications done at SWING Research Group [1]: |
1152 | 42 |
|
1046 | 43 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko |
44 |
SWING Research Group, Czech Technical University in Prague |
|
45 |
||
46 |
This software is furnished under a license and may be used |
|
47 |
only in accordance with the terms of that license and with the |
|
48 |
inclusion of the above copyright notice. This software may not |
|
49 |
be provided or otherwise made available to, or used by, any |
|
50 |
other person. No title to or ownership of the software is |
|
51 |
hereby transferred. |
|
52 |
||
1155 | 53 |
[1] Code written at SWING Research Group contains a signature |
54 |
of one of the above copright owners. For exact set of such code, |
|
55 |
see the differences between this version and version stx:libjava |
|
1152 | 56 |
as of 1.9.2010 |
1046 | 57 |
|
58 |
" |
|
59 |
! ! |
|
60 |
||
61 |
!JavaConstants class methodsFor:'class initialization'! |
|
62 |
||
63 |
initialize |
|
1055 | 64 |
"Initialization code is in C to make sure stc.h and smalltalk |
65 |
visible constants are in sync" |
|
66 |
||
67 |
||
1047 | 68 |
%{ |
1055 | 69 |
@global(JavaConstants:ACC_PUBLIC) = __MKSMALLINT(__ACC_PUBLIC); |
70 |
@global(JavaConstants:ACC_PRIVATE) = __MKSMALLINT(__ACC_PRIVATE); |
|
71 |
@global(JavaConstants:ACC_PROTECTED) = __MKSMALLINT(__ACC_PROTECTED); |
|
1047 | 72 |
|
1055 | 73 |
@global(JavaConstants:ACC_STATIC) = __MKSMALLINT(__ACC_STATIC); |
74 |
@global(JavaConstants:ACC_FINAL) = __MKSMALLINT(__ACC_FINAL); |
|
75 |
@global(JavaConstants:ACC_SYNCHRONIZED)= __MKSMALLINT(__ACC_SYNCHRONIZED); |
|
1047 | 76 |
|
1055 | 77 |
@global(JavaConstants:ACC_SUPER) = __MKSMALLINT(__ACC_SUPER); |
78 |
@global(JavaConstants:ACC_VOLATILE) = __MKSMALLINT(__ACC_VOLATILE); |
|
79 |
@global(JavaConstants:ACC_TRANSIENT) = __MKSMALLINT(__ACC_TRANSIENT); |
|
80 |
@global(JavaConstants:ACC_NATIVE) = __MKSMALLINT(__ACC_NATIVE); |
|
1047 | 81 |
|
1055 | 82 |
@global(JavaConstants:ACC_INTERFACE) = __MKSMALLINT(__ACC_INTERFACE); |
83 |
@global(JavaConstants:ACC_ABSTRACT) = __MKSMALLINT(__ACC_ABSTRACT); |
|
84 |
@global(JavaConstants:ACC_STRICT) = __MKSMALLINT(__ACC_STRICT); |
|
85 |
@global(JavaConstants:ACC_SYNTHETIC) = __MKSMALLINT(__ACC_SYNTHETIC); |
|
1047 | 86 |
|
1055 | 87 |
@global(JavaConstants:ACC_ENUM) = __MKSMALLINT(__ACC_ENUM); |
88 |
@global(JavaConstants:ACC_ANNOTATION) = __MKSMALLINT(__ACC_ANNOTATION); |
|
89 |
@global(JavaConstants:ACC_OBSOLETE) = __MKSMALLINT(__ACC_OBSOLETE); |
|
90 |
||
1523
f5ffdad83ab9
Access to ACC_* and ACX_* constants unified. The only definition is in JavaConstants
vranyj1
parents:
1435
diff
changeset
|
91 |
@global(JavaConstants:ACX_INITIALIZED) = __MKSMALLINT(__ACX_INITIALIZED); |
1526 | 92 |
@global(JavaConstants:ACX_INITIALIZING)= __MKSMALLINT(__ACX_INITIALIZING); |
1523
f5ffdad83ab9
Access to ACC_* and ACX_* constants unified. The only definition is in JavaConstants
vranyj1
parents:
1435
diff
changeset
|
93 |
@global(JavaConstants:ACX_BREAKPNT) = __MKSMALLINT(__ACC_BREAKPNT); |
f5ffdad83ab9
Access to ACC_* and ACX_* constants unified. The only definition is in JavaConstants
vranyj1
parents:
1435
diff
changeset
|
94 |
@global(JavaConstants:ACX_HASHANDLER) = __MKSMALLINT(__ACX_HASHANDLER); |
1435 | 95 |
@global(JavaConstants:ACX_HASFINALLY) = __MKSMALLINT(__ACX_HASFINALLY); |
1523
f5ffdad83ab9
Access to ACC_* and ACX_* constants unified. The only definition is in JavaConstants
vranyj1
parents:
1435
diff
changeset
|
96 |
@global(JavaConstants:ACX_RESOLVED) = __MKSMALLINT(__ACX_RESOLVED); |
f5ffdad83ab9
Access to ACC_* and ACX_* constants unified. The only definition is in JavaConstants
vranyj1
parents:
1435
diff
changeset
|
97 |
|
1047 | 98 |
|
99 |
%} |
|
100 |
||
1046 | 101 |
"Created: / 25-10-2011 / 09:50:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1055 | 102 |
"Modified: / 28-10-2011 / 16:56:17 / m" |
1435 | 103 |
"Modified: / 28-03-2012 / 23:06:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1046 | 104 |
! ! |
105 |
||
1648 | 106 |
!JavaConstants class methodsFor:'constants'! |
107 |
||
108 |
ACC_ABSTRACT |
|
109 |
||
1672 | 110 |
"/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of |
111 |
"/ yet another bug in stc |
|
112 |
"/ ^ACC_ABSTRACT |
|
113 |
^self classVarAt:#ACC_ABSTRACT |
|
1648 | 114 |
|
115 |
"Created: / 22-08-2012 / 10:53:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
116 |
! |
|
117 |
||
118 |
ACC_FINAL |
|
119 |
||
1672 | 120 |
"/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of |
121 |
"/ yet another bug in stc |
|
122 |
"/ ^ACC_FINAL |
|
123 |
^self classVarAt:#ACC_FINAL |
|
1648 | 124 |
|
125 |
"Created: / 22-08-2012 / 10:53:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
126 |
! |
|
127 |
||
128 |
ACC_PRIVATE |
|
129 |
||
1672 | 130 |
"/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of |
131 |
"/ yet another bug in stc |
|
132 |
"/ ^ACC_PRIVATE |
|
133 |
^self classVarAt:#ACC_PRIVATE |
|
1648 | 134 |
|
135 |
"Created: / 22-08-2012 / 10:54:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
136 |
! |
|
137 |
||
138 |
ACC_PROTECTED |
|
139 |
||
1672 | 140 |
"/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of |
141 |
"/ yet another bug in stc |
|
142 |
"/ ^ACC_PROTECTED |
|
143 |
^self classVarAt:#ACC_PROTECTED |
|
1648 | 144 |
|
145 |
"Created: / 22-08-2012 / 12:13:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
146 |
! |
|
147 |
||
148 |
ACC_PUBLIC |
|
149 |
||
1672 | 150 |
"/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of |
151 |
"/ yet another bug in stc |
|
152 |
"/ ^ACC_PUBLIC |
|
153 |
^self classVarAt:#ACC_PUBLIC |
|
1648 | 154 |
|
155 |
"Created: / 22-08-2012 / 10:53:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
156 |
! |
|
157 |
||
158 |
ACC_SUPER |
|
159 |
||
1672 | 160 |
"/ Using crappy 'self classVarAt:#ACC_ABSTRACT' because of |
161 |
"/ yet another bug in stc |
|
162 |
"/ ^ACC_SUPER |
|
163 |
^self classVarAt:#ACC_SUPER |
|
1648 | 164 |
|
165 |
"Created: / 22-08-2012 / 10:54:02 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
166 |
! ! |
|
167 |
||
1046 | 168 |
!JavaConstants class methodsFor:'documentation'! |
169 |
||
170 |
version_SVN |
|
171 |
^ '$Id$' |
|
172 |
! ! |
|
173 |
||
174 |
JavaConstants initialize! |