author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 24 May 2013 17:55:42 +0100 | |
branch | builtin-class-support |
changeset 2629 | cedb88626902 |
parent 2429 | ebece4dcaab9 |
child 2711 | a00302fe5083 |
permissions | -rw-r--r-- |
749 | 1 |
" |
2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
3 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
4 |
New code and modifications done at SWING Research Group [1]: |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
5 |
|
749 | 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 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
16 |
[1] Code written at SWING Research Group contains a signature |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
17 |
of one of the above copright owners. For exact set of such code, |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
18 |
see the differences between this version and version stx:libjava |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
19 |
as of 1.9.2010 |
749 | 20 |
" |
21 |
"{ Package: 'stx:libjava' }" |
|
22 |
||
23 |
Object subclass:#JavaAnnotationContainer |
|
24 |
instanceVariableNames:'runtimeVisible runtimeInvisible parent' |
|
25 |
classVariableNames:'' |
|
26 |
poolDictionaries:'' |
|
27 |
category:'Languages-Java-Annotations' |
|
28 |
! |
|
29 |
||
30 |
JavaAnnotationContainer class instanceVariableNames:'empty' |
|
31 |
||
32 |
" |
|
33 |
No other class instance variables are inherited by this class. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
!JavaAnnotationContainer class methodsFor:'documentation'! |
|
38 |
||
39 |
copyright |
|
40 |
" |
|
41 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
42 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
43 |
New code and modifications done at SWING Research Group [1]: |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
44 |
|
749 | 45 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko |
46 |
SWING Research Group, Czech Technical University in Prague |
|
47 |
||
48 |
This software is furnished under a license and may be used |
|
49 |
only in accordance with the terms of that license and with the |
|
50 |
inclusion of the above copyright notice. This software may not |
|
51 |
be provided or otherwise made available to, or used by, any |
|
52 |
other person. No title to or ownership of the software is |
|
53 |
hereby transferred. |
|
54 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
55 |
[1] Code written at SWING Research Group contains a signature |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
56 |
of one of the above copright owners. For exact set of such code, |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
57 |
see the differences between this version and version stx:libjava |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
58 |
as of 1.9.2010 |
749 | 59 |
|
60 |
" |
|
61 |
! ! |
|
62 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
63 |
|
749 | 64 |
!JavaAnnotationContainer class methodsFor:'instance creation'! |
65 |
||
66 |
for:parent |
|
67 |
^self new initializeFor:parent. |
|
68 |
||
69 |
"Created: / 28-02-2011 / 16:33:00 / Marcel Hlopko <hlopik@gmail.com>" |
|
70 |
"Modified: / 03-03-2011 / 22:49:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
71 |
! |
|
72 |
||
73 |
new |
|
74 |
"return an initialized instance" |
|
75 |
||
76 |
^ self basicNew initialize. |
|
77 |
! ! |
|
78 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
79 |
|
749 | 80 |
!JavaAnnotationContainer class methodsFor:'accessing'! |
81 |
||
82 |
empty |
|
83 |
empty ifNil: [ empty := self new ]. |
|
84 |
^ empty. |
|
85 |
||
86 |
"Created: / 03-03-2011 / 22:45:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
87 |
"Modified: / 16-03-2011 / 17:43:02 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
88 |
"Modified: / 16-03-2011 / 16:49:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
89 |
! ! |
|
90 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
91 |
|
749 | 92 |
!JavaAnnotationContainer methodsFor:'accessing'! |
93 |
||
94 |
ensureRuntimeInvisible |
|
95 |
runtimeInvisible size = 0 |
|
96 |
ifTrue: [ runtimeInvisible := JavaAnnotationDictionary new. ]. |
|
97 |
^ runtimeInvisible. |
|
98 |
||
99 |
"Created: / 16-03-2011 / 16:56:38 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
100 |
! |
|
101 |
||
102 |
ensureRuntimeVisible |
|
103 |
runtimeVisible size = 0 |
|
104 |
ifTrue: [ runtimeVisible := JavaAnnotationDictionary new. ]. |
|
105 |
^ runtimeVisible. |
|
106 |
||
107 |
"Created: / 16-03-2011 / 16:56:19 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
108 |
! |
|
109 |
||
110 |
runtimeInvisible |
|
111 |
^ runtimeInvisible |
|
112 |
! |
|
113 |
||
114 |
runtimeInvisible:something |
|
115 |
runtimeInvisible := something. |
|
116 |
! |
|
117 |
||
118 |
runtimeVisible |
|
119 |
^ runtimeVisible |
|
120 |
! |
|
121 |
||
122 |
runtimeVisible:something |
|
123 |
runtimeVisible := something. |
|
124 |
! ! |
|
125 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
126 |
|
749 | 127 |
!JavaAnnotationContainer methodsFor:'initialization'! |
128 |
||
129 |
initialize |
|
130 |
||
131 |
"Do not remove this method, is reqired for proper |
|
132 |
initialization of 'empty' containers!!!!!!" |
|
133 |
||
134 |
runtimeVisible := JavaAnnotationDictionary empty. |
|
135 |
runtimeInvisible := JavaAnnotationDictionary empty. |
|
136 |
||
137 |
"Modified: / 16-03-2011 / 17:11:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
138 |
"Created: / 16-03-2011 / 16:50:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
139 |
! |
|
140 |
||
141 |
initializeFor: aParent |
|
142 |
||
143 |
self initialize. |
|
144 |
parent := aParent. |
|
145 |
||
146 |
"Modified: / 16-03-2011 / 17:11:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
147 |
"Modified: / 16-03-2011 / 16:50:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
148 |
! ! |
|
149 |
||
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
150 |
|
749 | 151 |
!JavaAnnotationContainer class methodsFor:'documentation'! |
152 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
153 |
version_CVS |
2396
fadc6d7a2f5b
Updated to rev 009a0df3afce
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2353
diff
changeset
|
154 |
^ '$Header: /cvs/stx/stx/libjava/JavaAnnotationContainer.st,v 1.5 2013-02-25 11:15:31 vrany Exp $' |
2315
857134b3baa1
fixed: #version_SVN ($ to §)
Claus Gittinger <cg@exept.de>
parents:
2195
diff
changeset
|
155 |
! |
857134b3baa1
fixed: #version_SVN ($ to §)
Claus Gittinger <cg@exept.de>
parents:
2195
diff
changeset
|
156 |
|
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
157 |
version_HG |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
158 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
159 |
^ '$Changeset: <not expanded> $' |
2195 | 160 |
! |
161 |
||
749 | 162 |
version_SVN |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
163 |
^ '§Id§' |
2152 | 164 |
! ! |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
165 |