author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 03 Oct 2013 10:31:41 +0200 | |
changeset 2760 | 818fa434937a |
parent 2678 | c865275e48a7 |
child 2731 | 13f5be2bf83b |
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 |
||
63 |
!JavaAnnotationContainer class methodsFor:'instance creation'! |
|
64 |
||
65 |
for:parent |
|
66 |
^self new initializeFor:parent. |
|
67 |
||
68 |
"Created: / 28-02-2011 / 16:33:00 / Marcel Hlopko <hlopik@gmail.com>" |
|
69 |
"Modified: / 03-03-2011 / 22:49:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
70 |
! |
|
71 |
||
72 |
new |
|
73 |
"return an initialized instance" |
|
74 |
||
75 |
^ self basicNew initialize. |
|
76 |
! ! |
|
77 |
||
78 |
!JavaAnnotationContainer class methodsFor:'accessing'! |
|
79 |
||
80 |
empty |
|
81 |
empty ifNil: [ empty := self new ]. |
|
82 |
^ empty. |
|
83 |
||
84 |
"Created: / 03-03-2011 / 22:45:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
85 |
"Modified: / 16-03-2011 / 17:43:02 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
86 |
"Modified: / 16-03-2011 / 16:49:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
87 |
! ! |
|
88 |
||
89 |
!JavaAnnotationContainer methodsFor:'accessing'! |
|
90 |
||
91 |
ensureRuntimeInvisible |
|
92 |
runtimeInvisible size = 0 |
|
93 |
ifTrue: [ runtimeInvisible := JavaAnnotationDictionary new. ]. |
|
94 |
^ runtimeInvisible. |
|
95 |
||
96 |
"Created: / 16-03-2011 / 16:56:38 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
97 |
! |
|
98 |
||
99 |
ensureRuntimeVisible |
|
100 |
runtimeVisible size = 0 |
|
101 |
ifTrue: [ runtimeVisible := JavaAnnotationDictionary new. ]. |
|
102 |
^ runtimeVisible. |
|
103 |
||
104 |
"Created: / 16-03-2011 / 16:56:19 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
105 |
! |
|
106 |
||
107 |
runtimeInvisible |
|
108 |
^ runtimeInvisible |
|
109 |
! |
|
110 |
||
111 |
runtimeInvisible:something |
|
112 |
runtimeInvisible := something. |
|
113 |
! |
|
114 |
||
115 |
runtimeVisible |
|
116 |
^ runtimeVisible |
|
117 |
! |
|
118 |
||
119 |
runtimeVisible:something |
|
120 |
runtimeVisible := something. |
|
121 |
! ! |
|
122 |
||
123 |
!JavaAnnotationContainer methodsFor:'initialization'! |
|
124 |
||
125 |
initialize |
|
126 |
||
127 |
"Do not remove this method, is reqired for proper |
|
128 |
initialization of 'empty' containers!!!!!!" |
|
129 |
||
130 |
runtimeVisible := JavaAnnotationDictionary empty. |
|
131 |
runtimeInvisible := JavaAnnotationDictionary empty. |
|
132 |
||
133 |
"Modified: / 16-03-2011 / 17:11:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
134 |
"Created: / 16-03-2011 / 16:50:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
135 |
! |
|
136 |
||
137 |
initializeFor: aParent |
|
138 |
||
139 |
self initialize. |
|
140 |
parent := aParent. |
|
141 |
||
142 |
"Modified: / 16-03-2011 / 17:11:03 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
|
143 |
"Modified: / 16-03-2011 / 16:50:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
144 |
! ! |
|
145 |
||
146 |
!JavaAnnotationContainer class methodsFor:'documentation'! |
|
147 |
||
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
|
148 |
version_CVS |
2678
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
149 |
^ '$Header: /cvs/stx/stx/libjava/JavaAnnotationContainer.st,v 1.6 2013-09-06 00:41:09 vrany Exp $' |
2315
857134b3baa1
fixed: #version_SVN ($ to §)
Claus Gittinger <cg@exept.de>
parents:
2195
diff
changeset
|
150 |
! |
857134b3baa1
fixed: #version_SVN ($ to §)
Claus Gittinger <cg@exept.de>
parents:
2195
diff
changeset
|
151 |
|
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
|
152 |
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
|
153 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2315
diff
changeset
|
154 |
^ '$Changeset: <not expanded> $' |
2195 | 155 |
! |
156 |
||
749 | 157 |
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
|
158 |
^ '§Id§' |
2152 | 159 |
! ! |
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
|
160 |