src/JavaConstants.st
author vranyj1
Tue, 25 Oct 2011 08:26:26 +0000
branchjk_new_structure
changeset 1047 8a83a51a18ec
parent 1046 d40b1aa62700
child 1055 d89af7610ed3
permissions -rw-r--r--
JavaConstants initialization code
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1046
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     1
"
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     2
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     3
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     4
                            SWING Research Group, Czech Technical University in Prague
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     5
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     6
 Parts of the code written by Claus Gittinger are under following
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     7
 license:
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     8
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
     9
 This software is furnished under a license and may be used
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    10
 only in accordance with the terms of that license and with the
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    11
 inclusion of the above copyright notice.   This software may not
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    12
 be provided or otherwise made available to, or used by, any
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    13
 other person.  No title to or ownership of the software is
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    14
 hereby transferred.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    15
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    16
 Parts of the code written at SWING Reasearch Group [1] are MIT licensed:
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    17
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    18
 Permission is hereby granted, free of charge, to any person
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    19
 obtaining a copy of this software and associated documentation
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    20
 files (the 'Software'), to deal in the Software without
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    21
 restriction, including without limitation the rights to use,
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    22
 copy, modify, merge, publish, distribute, sublicense, and/or sell
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    23
 copies of the Software, and to permit persons to whom the
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    24
 Software is furnished to do so, subject to the following
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    25
 conditions:
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    26
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    27
 The above copyright notice and this permission notice shall be
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    28
 included in all copies or substantial portions of the Software.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    29
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    30
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    31
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    32
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    33
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    34
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    35
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    36
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    37
 OTHER DEALINGS IN THE SOFTWARE.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    38
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    39
 [1] Code written at SWING Research Group contain a signature
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    40
     of one of the above copright owners.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    41
"
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    42
"{ Package: 'stx:libjava' }"
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    43
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    44
SharedPool subclass:#JavaConstants
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    45
	instanceVariableNames:''
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    46
	classVariableNames:'ACC_PUBLIC ACC_PRIVATE ACC_PROTECTED ACC_STATIC ACC_FINAL
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    47
		ACC_SYNCHRONIZED ACC_BRIDGE ACC_VARGARS ACC_NATIVE ACC_ABSTRACT
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    48
		ACC_STRICT ACC_SYNTHETIC ACC_SUPER ACC_INTERFACE ACC_ANNOTATION
1047
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
    49
		ACC_ENUM ACC_VOLATILE ACC_TRANSIENT ACC_OBSOLETE'
1046
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    50
	poolDictionaries:''
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    51
	category:'Languages-Java-Support'
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    52
!
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    53
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    54
!JavaConstants class methodsFor:'documentation'!
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    55
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    56
copyright
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    57
"
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    58
 COPYRIGHT (c) 1996-2011 by Claus Gittinger
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    59
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    60
                            SWING Research Group, Czech Technical University in Prague
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    61
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    62
 Parts of the code written by Claus Gittinger are under following
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    63
 license:
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    64
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    65
 This software is furnished under a license and may be used
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    66
 only in accordance with the terms of that license and with the
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    67
 inclusion of the above copyright notice.   This software may not
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    68
 be provided or otherwise made available to, or used by, any
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    69
 other person.  No title to or ownership of the software is
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    70
 hereby transferred.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    71
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    72
 Parts of the code written at SWING Reasearch Group [1] are MIT licensed:
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    73
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    74
 Permission is hereby granted, free of charge, to any person
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    75
 obtaining a copy of this software and associated documentation
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    76
 files (the 'Software'), to deal in the Software without
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    77
 restriction, including without limitation the rights to use,
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    78
 copy, modify, merge, publish, distribute, sublicense, and/or sell
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    79
 copies of the Software, and to permit persons to whom the
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    80
 Software is furnished to do so, subject to the following
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    81
 conditions:
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    82
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    83
 The above copyright notice and this permission notice shall be
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    84
 included in all copies or substantial portions of the Software.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    85
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    86
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    87
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    88
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    89
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    90
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    91
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    92
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    93
 OTHER DEALINGS IN THE SOFTWARE.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    94
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    95
 [1] Code written at SWING Research Group contain a signature
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    96
     of one of the above copright owners.
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    97
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    98
"
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
    99
! !
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   100
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   101
!JavaConstants class methodsFor:'class initialization'!
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   102
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   103
initialize
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   104
1047
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   105
	"Initialization code is in C to make sure stc.h and smalltalk
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   106
	 visible constants are in sync"
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   107
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   108
%{    
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   109
	@global(JavaConstants:ACC_PUBLIC)      = __MKSMALLINT(__ACC_PUBLIC);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   110
	@global(JavaConstants:ACC_PRIVATE)     = __MKSMALLINT(__ACC_PRIVATE);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   111
	@global(JavaConstants:ACC_PROTECTED)   = __MKSMALLINT(__ACC_PROTECTED);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   112
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   113
	@global(JavaConstants:ACC_STATIC)      = __MKSMALLINT(__ACC_STATIC);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   114
	@global(JavaConstants:ACC_FINAL)       = __MKSMALLINT(__ACC_FINAL);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   115
	@global(JavaConstants:ACC_SYNCHRONIZED)= __MKSMALLINT(__ACC_SYNCHRONIZED);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   116
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   117
	@global(JavaConstants:ACC_SUPER)       = __MKSMALLINT(__ACC_SUPER);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   118
	@global(JavaConstants:ACC_VOLATILE)    = __MKSMALLINT(__ACC_VOLATILE);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   119
	@global(JavaConstants:ACC_TRANSIENT)   = __MKSMALLINT(__ACC_TRANSIENT);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   120
	@global(JavaConstants:ACC_NATIVE)      = __MKSMALLINT(__ACC_NATIVE);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   121
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   122
	@global(JavaConstants:ACC_INTERFACE)   = __MKSMALLINT(__ACC_INTERFACE);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   123
	@global(JavaConstants:ACC_ABSTRACT)    = __MKSMALLINT(__ACC_ABSTRACT);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   124
	@global(JavaConstants:ACC_STRICT)      = __MKSMALLINT(__ACC_STRICT);	
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   125
	@global(JavaConstants:ACC_SYNTHETIC)   = __MKSMALLINT(__ACC_SYNTHETIC);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   126
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   127
	@global(JavaConstants:ACC_ENUM)        = __MKSMALLINT(__ACC_ENUM);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   128
	@global(JavaConstants:ACC_ANNOTATION)  = __MKSMALLINT(__ACC_ANNOTATION);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   129
	@global(JavaConstants:ACC_OBSOLETE)    = __MKSMALLINT(__ACC_OBSOLETE);
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   130
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   131
%}
8a83a51a18ec JavaConstants initialization code
vranyj1
parents: 1046
diff changeset
   132
1046
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   133
    "Created: / 25-10-2011 / 09:50:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   134
! !
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   135
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   136
!JavaConstants class methodsFor:'documentation'!
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   137
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   138
version_SVN
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   139
    ^ '$Id$'
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   140
! !
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   141
d40b1aa62700 Added JavaConstants
vranyj1
parents:
diff changeset
   142
JavaConstants initialize!