missing-break-in-switch.xmi 50 KB
Newer Older
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="ASCII"?>
<java:Model xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="http://www.eclipse.org/MoDisco/Java/0.2.incubation/java" name="MissingBreakInSwitch">
  <ownedElements name="main">
    <ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.0" name="Main">
      <modifier visibility="public"/>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.0" name="main">
        <modifier visibility="public" static="true"/>
        <body originalCompilationUnit="//@compilationUnits.0">
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
          <statements xsi:type="java:LabeledStatement" originalCompilationUnit="//@compilationUnits.0" name="loop">
            <body xsi:type="java:ForStatement" originalCompilationUnit="//@compilationUnits.0">
              <expression xsi:type="java:InfixExpression" originalCompilationUnit="//@compilationUnits.0" operator="&lt;">
                <rightOperand xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="10"/>
                <leftOperand xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@initializers.0/@fragments.0"/>
              </expression>
              <updaters xsi:type="java:PostfixExpression" originalCompilationUnit="//@compilationUnits.0">
                <operand xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@initializers.0/@fragments.0"/>
              </updaters>
              <initializers xsi:type="java:VariableDeclarationExpression" originalCompilationUnit="//@compilationUnits.0">
                <type type="//@orphanTypes.0"/>
                <fragments originalCompilationUnit="//@compilationUnits.0" name="i" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@expression/@leftOperand //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@updaters.0/@operand //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.1/@expression/@arguments.0">
                  <initializer xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="0"/>
                </fragments>
                <modifier/>
              </initializers>
              <body xsi:type="java:Block" originalCompilationUnit="//@compilationUnits.0">
                <statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.0">
                  <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// No violation" prefixOfParent="true"/>
                  <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@initializers.0/@fragments.0"/>
                  <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
                    <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// intentional fallthrough"/>
                    <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="1"/>
                  </statements>
                  <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
                    <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// intentional fallthrough"/>
                    <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="3"/>
                  </statements>
                  <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
                    <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// intentional fallthrough"/>
                    <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="5"/>
                  </statements>
                  <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
                    <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// intentional fallthrough"/>
                    <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="7"/>
                  </statements>
                  <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
                    <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// intentional fallthrough"/>
                    <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="9"/>
                  </statements>
                  <statements xsi:type="java:ContinueStatement" originalCompilationUnit="//@compilationUnits.0" label="//@unresolvedItems.0"/>
                </statements>
                <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.0">
                  <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.0" method="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.0">
                    <arguments xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@initializers.0/@fragments.0"/>
                    <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.1/@ownedPackages.0/@ownedElements.3/@bodyDeclarations.0/@fragments.0">
                      <qualifier xsi:type="java:TypeAccess" type="//@ownedElements.1/@ownedPackages.0/@ownedElements.3"/>
                    </expression>
                  </expression>
                </statements>
              </body>
            </body>
          </statements>
62
          <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.0">
63
            <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.0" method="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.1">
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
              <arguments xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;Sample code for testing missing break in switch statement.&quot;"/>
              <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.1/@ownedPackages.0/@ownedElements.3/@bodyDeclarations.0/@fragments.0">
                <qualifier xsi:type="java:TypeAccess" type="//@ownedElements.1/@ownedPackages.0/@ownedElements.3"/>
              </expression>
            </expression>
          </statements>
        </body>
        <parameters originalCompilationUnit="//@compilationUnits.0" name="args">
          <modifier/>
          <type type="//@orphanTypes.9"/>
        </parameters>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
    </ownedElements>
    <ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.1" name="Foo">
      <modifier visibility="public"/>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.1">
        <modifier visibility="private" static="true"/>
        <type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.1" name="operation" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@statements.1/@expression/@leftHandSide //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@statements.4/@expression/@leftHandSide //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@statements.7/@expression/@leftHandSide //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@statements.11/@expression/@leftHandSide">
          <initializer xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;&quot;"/>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.1" name="Foo">
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.1"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.1" name="foo">
92
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.1" content="// No violation" prefixOfParent="true"/>
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.1">
          <statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.1">
            <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@parameters.0"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="1"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.1">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;add&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.1"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="2"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.1">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;minus&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.1"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="3"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.1">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;mult&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.1"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.1" content="// intentionall fallout"/>
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="4"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="5"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.1">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;divide&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.1"/>
          </statements>
        </body>
        <parameters originalCompilationUnit="//@compilationUnits.1" name="option" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@expression">
          <modifier/>
          <type type="//@orphanTypes.0"/>
        </parameters>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
149
150
151
152
153
154
155
156
157
158
159
160
161
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.1" name="toNumber">
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.1" content="// Violation of rule" prefixOfParent="true"/>
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.1">
          <statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.1">
            <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@parameters.0"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;zero&quot;"/>
            </statements>
            <statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="0"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
162
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.1" content="// not return, break, continue or throw so violation"/>
163
164
165
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;one&quot;"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
166
              <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.1" method="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.1">
167
168
169
170
171
172
173
                <arguments xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;Test&quot;"/>
                <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.1/@ownedPackages.0/@ownedElements.3/@bodyDeclarations.0/@fragments.0">
                  <qualifier xsi:type="java:TypeAccess" type="//@ownedElements.1/@ownedPackages.0/@ownedElements.3"/>
                </expression>
              </expression>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
174
              <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.1" method="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.1">
175
176
177
178
179
180
181
                <arguments xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;Test2&quot;"/>
                <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.1/@ownedPackages.0/@ownedElements.3/@bodyDeclarations.0/@fragments.0">
                  <qualifier xsi:type="java:TypeAccess" type="//@ownedElements.1/@ownedPackages.0/@ownedElements.3"/>
                </expression>
              </expression>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
182
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.1" content="// intentional fallthrough"/>
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;two&quot;"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1" default="true"/>
            <statements xsi:type="java:ThrowStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:ClassInstanceCreation" originalCompilationUnit="//@compilationUnits.1" method="//@ownedElements.1/@ownedPackages.0/@ownedElements.6/@bodyDeclarations.0">
                <type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.6"/>
              </expression>
            </statements>
          </statements>
        </body>
        <parameters originalCompilationUnit="//@compilationUnits.1" name="number" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@expression">
          <modifier/>
          <type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
        </parameters>
        <returnType type="//@orphanTypes.0"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.1" name="numberToString">
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.1" content="// No violations of rule" prefixOfParent="true"/>
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.1">
          <statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.1">
            <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.4/@parameters.0"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="0"/>
            </statements>
            <statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;zero (0)&quot;"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="1"/>
            </statements>
            <statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;one (1)&quot;"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.1" tokenValue="2"/>
            </statements>
            <statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;two (2)&quot;"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1" default="true"/>
            <statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.1">
              <expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.1" escapedValue="&quot;unknown&quot;"/>
            </statements>
          </statements>
        </body>
        <parameters originalCompilationUnit="//@compilationUnits.1" name="number" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.4/@body/@statements.0/@expression">
          <modifier/>
          <type type="//@orphanTypes.0"/>
        </parameters>
        <returnType type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
      </bodyDeclarations>
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
    </ownedElements>
    <ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.2" name="FooBar">
      <modifier visibility="public"/>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.2">
        <modifier visibility="private" static="true"/>
        <type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.2" name="operation" usageInVariableAccess="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@body/@statements.0/@statements.1/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@body/@statements.0/@statements.4/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@body/@statements.0/@statements.7/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@body/@statements.0/@statements.10/@expression/@leftHandSide">
          <initializer xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;&quot;"/>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.2" name="FooBar">
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.2"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.2" name="foobar">
250
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.2" content="// No violations of rule" prefixOfParent="true"/>
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.2">
          <statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.2">
            <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@parameters.0"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.2" tokenValue="1"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.2">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;add&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.2"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.2" tokenValue="2"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.2">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;minus&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.2"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.2" tokenValue="3"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.2">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;mult&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.2"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.2" tokenValue="4"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.2">
              <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.2">
                <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.0/@fragments.0"/>
                <rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;divide&quot;"/>
              </expression>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.2"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.2" default="true">
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.2" content="// default + intentional fallout"/>
            </statements>
          </statements>
        </body>
        <parameters originalCompilationUnit="//@compilationUnits.2" name="option" usageInVariableAccess="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@body/@statements.0/@expression">
          <modifier/>
          <type type="//@orphanTypes.0"/>
        </parameters>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
    </ownedElements>
    <ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.3" name="Bar">
      <modifier visibility="public"/>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.3">
        <modifier visibility="private" inheritance="final" static="true"/>
        <type type="//@orphanTypes.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.3" name="CANCELLED" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.0/@expression">
          <initializer xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="0"/>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.3">
        <modifier visibility="private" inheritance="final" static="true"/>
        <type type="//@orphanTypes.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.3" name="NEW" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.2/@expression">
          <initializer xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="1"/>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.3">
        <modifier visibility="private" inheritance="final" static="true"/>
        <type type="//@orphanTypes.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.3" name="REMOVED" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.4/@expression">
          <initializer xsi:type="java:PrefixExpression" originalCompilationUnit="//@compilationUnits.3" operator="-">
            <operand xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="1"/>
          </initializer>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.3">
        <modifier visibility="private" inheritance="final" static="true"/>
        <type type="//@orphanTypes.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.3" name="OTHER" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.6/@expression">
          <initializer xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="2"/>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.3">
        <modifier visibility="private" inheritance="final" static="true"/>
        <type type="//@orphanTypes.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.3" name="ERROR" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.7/@expression">
          <initializer xsi:type="java:PrefixExpression" originalCompilationUnit="//@compilationUnits.3" operator="-">
            <operand xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="999"/>
          </initializer>
        </fragments>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.3" name="Bar">
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.3"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.3" name="bar">
353
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// Violation of rule" prefixOfParent="true"/>
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.3">
          <statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.3">
            <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@parameters.0"/>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.3">
              <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@fragments.0"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
              <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.10"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.3">
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// break; hm, should this be commented out?" prefixOfParent="true"/>
              <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.1/@fragments.0"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
              <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.9"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.3">
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// is this really a fall-through?" prefixOfParent="true"/>
              <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.2/@fragments.0"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
              <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.7"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.3">
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// what happens if you add another case after this one?" prefixOfParent="true"/>
              <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// empty case - this is interpreted as an intentional fall-through"/>
              <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.3/@fragments.0"/>
            </statements>
            <statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.3">
              <expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.4/@fragments.0"/>
            </statements>
            <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
              <expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.8"/>
            </statements>
            <statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.3"/>
          </statements>
        </body>
        <parameters originalCompilationUnit="//@compilationUnits.3" name="status" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@expression">
          <modifier/>
          <type type="//@orphanTypes.0"/>
        </parameters>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.3" name="doRemoved" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.5/@expression">
        <modifier visibility="private"/>
        <body originalCompilationUnit="//@compilationUnits.3">
          <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// TODO Auto-generated method stub" enclosedByParent="true"/>
        </body>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.3" name="doErrorHandling" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.8/@expression">
        <modifier visibility="private"/>
        <body originalCompilationUnit="//@compilationUnits.3">
          <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// TODO Auto-generated method stub" enclosedByParent="true"/>
        </body>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.3" name="doNew" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.3/@expression">
        <modifier visibility="private"/>
        <body originalCompilationUnit="//@compilationUnits.3">
          <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// TODO Auto-generated method stub" enclosedByParent="true"/>
        </body>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.3" name="doCancelled" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.1/@expression">
        <modifier visibility="private"/>
        <body originalCompilationUnit="//@compilationUnits.3">
          <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.3" content="// TODO Auto-generated method stub" enclosedByParent="true"/>
        </body>
        <returnType type="//@orphanTypes.5"/>
      </bodyDeclarations>
    </ownedElements>
  </ownedElements>
  <ownedElements name="java" proxy="true">
    <ownedPackages name="lang" proxy="true">
430
      <ownedElements xsi:type="java:ClassDeclaration" name="String" proxy="true" usagesInTypeAccess="//@orphanTypes.9/@elementType //@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.1/@parameters.0/@type //@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@type //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@parameters.0/@type //@ownedElements.0/@ownedElements.1/@bodyDeclarations.4/@returnType //@ownedElements.0/@ownedElements.2/@bodyDeclarations.0/@type">
431
432
433
434
435
436
437
438
        <superInterfaces type="//@ownedElements.1/@ownedPackages.1/@ownedElements.0"/>
        <superInterfaces type="//@ownedElements.1/@ownedPackages.0/@ownedElements.1"/>
        <superInterfaces type="//@ownedElements.1/@ownedPackages.0/@ownedElements.2"/>
      </ownedElements>
      <ownedElements xsi:type="java:InterfaceDeclaration" name="Comparable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.0/@superInterfaces.1">
        <typeParameters name="T" proxy="true"/>
      </ownedElements>
      <ownedElements xsi:type="java:InterfaceDeclaration" name="CharSequence" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.0/@superInterfaces.2"/>
439
      <ownedElements xsi:type="java:ClassDeclaration" name="System" proxy="true" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.1/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.1/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.3/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.4/@expression/@expression/@qualifier">
440
        <bodyDeclarations xsi:type="java:FieldDeclaration" proxy="true">
441
          <fragments name="out" proxy="true" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.1/@expression/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.1/@expression/@expression //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.3/@expression/@expression //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.4/@expression/@expression"/>
442
443
444
445
        </bodyDeclarations>
      </ownedElements>
      <ownedElements xsi:type="java:InterfaceDeclaration" name="AutoCloseable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.1/@ownedElements.4/@superInterfaces.0"/>
      <ownedElements xsi:type="java:InterfaceDeclaration" name="Appendable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@superInterfaces.0"/>
446
447
448
449
450
451
452
453
454
455
456
457
458
      <ownedElements xsi:type="java:ClassDeclaration" name="IllegalArgumentException" proxy="true" usagesInTypeAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.7/@expression/@type">
        <bodyDeclarations xsi:type="java:ConstructorDeclaration" name="IllegalArgumentException" proxy="true" usages="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.7/@expression"/>
        <superClass type="//@ownedElements.1/@ownedPackages.0/@ownedElements.7"/>
      </ownedElements>
      <ownedElements xsi:type="java:ClassDeclaration" name="RuntimeException" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.6/@superClass">
        <superClass type="//@ownedElements.1/@ownedPackages.0/@ownedElements.8"/>
      </ownedElements>
      <ownedElements xsi:type="java:ClassDeclaration" name="Exception" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.7/@superClass">
        <superClass type="//@ownedElements.1/@ownedPackages.0/@ownedElements.9"/>
      </ownedElements>
      <ownedElements xsi:type="java:ClassDeclaration" name="Throwable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.8/@superClass">
        <superInterfaces type="//@ownedElements.1/@ownedPackages.1/@ownedElements.0"/>
      </ownedElements>
459
460
    </ownedPackages>
    <ownedPackages name="io" proxy="true">
461
      <ownedElements xsi:type="java:InterfaceDeclaration" name="Serializable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.0/@superInterfaces.0 //@ownedElements.1/@ownedPackages.0/@ownedElements.9/@superInterfaces.0"/>
462
      <ownedElements xsi:type="java:ClassDeclaration" name="PrintStream" proxy="true">
463
464
465
466
467
468
        <bodyDeclarations xsi:type="java:MethodDeclaration" name="println" proxy="true" usages="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.1/@expression">
          <parameters name="arg0" proxy="true">
            <type type="//@orphanTypes.0"/>
          </parameters>
        </bodyDeclarations>
        <bodyDeclarations xsi:type="java:MethodDeclaration" name="println" proxy="true" usages="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.1/@expression //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.3/@expression //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.4/@expression">
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
          <parameters name="arg0" proxy="true">
            <type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
          </parameters>
        </bodyDeclarations>
        <superInterfaces type="//@ownedElements.1/@ownedPackages.0/@ownedElements.5"/>
        <superInterfaces type="//@ownedElements.1/@ownedPackages.1/@ownedElements.4"/>
        <superClass type="//@ownedElements.1/@ownedPackages.1/@ownedElements.2"/>
      </ownedElements>
      <ownedElements xsi:type="java:ClassDeclaration" name="FilterOutputStream" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@superClass">
        <superClass type="//@ownedElements.1/@ownedPackages.1/@ownedElements.3"/>
      </ownedElements>
      <ownedElements xsi:type="java:ClassDeclaration" name="OutputStream" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.1/@ownedElements.2/@superClass">
        <superInterfaces type="//@ownedElements.1/@ownedPackages.1/@ownedElements.4"/>
        <superInterfaces type="//@ownedElements.1/@ownedPackages.1/@ownedElements.5"/>
      </ownedElements>
      <ownedElements xsi:type="java:InterfaceDeclaration" name="Closeable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.1/@ownedElements.3/@superInterfaces.0 //@ownedElements.1/@ownedPackages.1/@ownedElements.1/@superInterfaces.1">
        <superInterfaces type="//@ownedElements.1/@ownedPackages.0/@ownedElements.4"/>
      </ownedElements>
      <ownedElements xsi:type="java:InterfaceDeclaration" name="Flushable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.1/@ownedElements.3/@superInterfaces.1"/>
    </ownedPackages>
  </ownedElements>
490
  <orphanTypes xsi:type="java:PrimitiveTypeInt" name="int" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@initializers.0/@type //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@parameters.0/@type //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@returnType //@ownedElements.0/@ownedElements.1/@bodyDeclarations.4/@parameters.0/@type //@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@parameters.0/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.1/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.2/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.3/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.4/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@parameters.0/@type //@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.0/@parameters.0/@type"/>
491
492
493
494
495
496
497
498
499
500
501
  <orphanTypes xsi:type="java:PrimitiveTypeLong" name="long"/>
  <orphanTypes xsi:type="java:PrimitiveTypeFloat" name="float"/>
  <orphanTypes xsi:type="java:PrimitiveTypeDouble" name="double"/>
  <orphanTypes xsi:type="java:PrimitiveTypeBoolean" name="boolean"/>
  <orphanTypes xsi:type="java:PrimitiveTypeVoid" name="void" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@returnType //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@returnType //@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@returnType //@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@returnType //@ownedElements.0/@ownedElements.3/@bodyDeclarations.7/@returnType //@ownedElements.0/@ownedElements.3/@bodyDeclarations.8/@returnType //@ownedElements.0/@ownedElements.3/@bodyDeclarations.9/@returnType //@ownedElements.0/@ownedElements.3/@bodyDeclarations.10/@returnType"/>
  <orphanTypes xsi:type="java:PrimitiveTypeChar" name="char"/>
  <orphanTypes xsi:type="java:PrimitiveTypeShort" name="short"/>
  <orphanTypes xsi:type="java:PrimitiveTypeByte" name="byte"/>
  <orphanTypes xsi:type="java:ArrayType" name="java.lang.String[]" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@parameters.0/@type" dimensions="1">
    <elementType type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
  </orphanTypes>
502
503
504
  <unresolvedItems xsi:type="java:UnresolvedLabeledStatement" name="loop" proxy="true" usagesInContinueStatements="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@statements.5"/>
  <compilationUnits name="Main.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\MissingBreakInSwitch\src\main\Main.java" commentList="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@statements.0/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@statements.1/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@statements.2/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@statements.3/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@body/@statements.0/@body/@body/@statements.0/@statements.4/@comments.0" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.0"/>
  <compilationUnits name="Foo.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\MissingBreakInSwitch\src\main\Foo.java" commentList="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@comments.0 //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@statements.9/@comments.0 //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@comments.0 //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.2/@comments.0 //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@statements.5/@comments.0 //@ownedElements.0/@ownedElements.1/@bodyDeclarations.4/@comments.0" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.1"/>
505
506
  <compilationUnits name="FooBar.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\MissingBreakInSwitch\src\main\FooBar.java" commentList="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@comments.0 //@ownedElements.0/@ownedElements.2/@bodyDeclarations.2/@body/@statements.0/@statements.12/@comments.0" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.2"/>
  <compilationUnits name="Bar.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\MissingBreakInSwitch\src\main\Bar.java" commentList="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.2/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.4/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.6/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.6/@body/@statements.0/@statements.6/@comments.1 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.7/@body/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.8/@body/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.9/@body/@comments.0 //@ownedElements.0/@ownedElements.3/@bodyDeclarations.10/@body/@comments.0" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.3"/>
507
</java:Model>