1263
|
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 |
JavaDescriptor subclass:#JavaFieldDescriptorWithUnionType
|
|
24 |
instanceVariableNames:'descriptors'
|
|
25 |
classVariableNames:''
|
|
26 |
poolDictionaries:''
|
|
27 |
category:'Languages-Java-Support'
|
|
28 |
!
|
|
29 |
|
|
30 |
!JavaFieldDescriptorWithUnionType 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 |
!JavaFieldDescriptorWithUnionType class methodsFor:'instance creation'!
|
|
57 |
|
|
58 |
new
|
|
59 |
"return an initialized instance"
|
|
60 |
|
|
61 |
^ self basicNew initialize.
|
|
62 |
! !
|
|
63 |
|
|
64 |
!JavaFieldDescriptorWithUnionType methodsFor:'accessing'!
|
|
65 |
|
|
66 |
addDescriptor: desc
|
|
67 |
|
|
68 |
descriptors add: desc
|
|
69 |
|
|
70 |
"Created: / 10-12-2011 / 21:38:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
71 |
! !
|
|
72 |
|
|
73 |
!JavaFieldDescriptorWithUnionType methodsFor:'comparing'!
|
|
74 |
|
|
75 |
match: another
|
|
76 |
|
|
77 |
descriptors do:[:each|
|
|
78 |
(each match: another) ifTrue:[ ^ true ].
|
|
79 |
].
|
|
80 |
^false
|
|
81 |
|
|
82 |
"Created: / 10-12-2011 / 21:33:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
83 |
! !
|
|
84 |
|
|
85 |
!JavaFieldDescriptorWithUnionType methodsFor:'initialization'!
|
|
86 |
|
|
87 |
initialize
|
|
88 |
"Invoked when a new instance is created."
|
|
89 |
|
|
90 |
"/ please change as required (and remove this comment)
|
|
91 |
descriptors := Set new
|
|
92 |
|
|
93 |
"/ super initialize. -- commented since inherited method does nothing
|
|
94 |
|
|
95 |
"Modified: / 10-12-2011 / 21:31:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
96 |
! !
|
|
97 |
|
|
98 |
!JavaFieldDescriptorWithUnionType class methodsFor:'documentation'!
|
|
99 |
|
1864
|
100 |
version_HG
|
|
101 |
|
|
102 |
^ '$Changeset: <not expanded> $'
|
|
103 |
!
|
|
104 |
|
1263
|
105 |
version_SVN
|
1864
|
106 |
^ '§Id§'
|
1263
|
107 |
! !
|