Commit 410f0953 authored by Roxane Kang Maréchal's avatar Roxane Kang Maréchal
Browse files

Removed old xmi

parent b5e231fc
<?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="TooFewBranchesForASwitchStatement">
<ownedElements name="tooFewBranchesForASwitchStatement">
<ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.0" name="Course" usagesInTypeAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.1/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.1/@fragments.0/@initializer/@type">
<modifier visibility="public"/>
<bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.0" name="Course" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.1/@fragments.0/@initializer">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.0"/>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.0" name="getCourseFromId" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.6/@expression">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.0">
<statements xsi:type="java:VariableDeclarationStatement" originalCompilationUnit="//@compilationUnits.0">
<type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
<fragments originalCompilationUnit="//@compilationUnits.0" name="Branch" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@expression">
<initializer xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;CSE&quot;"/>
</fragments>
<modifier/>
</statements>
<statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.0">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@parameters.0"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
<expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="1"/>
</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:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;elective courses : Advance english, Algebra&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:BreakStatement" originalCompilationUnit="//@compilationUnits.0"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
<expression xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="2"/>
</statements>
<statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.0">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.0/@fragments.0"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
<comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// nested switch" prefixOfParent="true"/>
<expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;CSE&quot;"/>
</statements>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
<expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;CCE&quot;"/>
</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:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;elective courses : Machine Learning, Big Data&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:BreakStatement" originalCompilationUnit="//@compilationUnits.0"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0">
<expression xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;ECE&quot;"/>
</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:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;elective courses : Antenna Engineering&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:BreakStatement" originalCompilationUnit="//@compilationUnits.0"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.0" default="true"/>
<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:StringLiteral" originalCompilationUnit="//@compilationUnits.0" escapedValue="&quot;Elective courses : Optimization&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>
</statements>
</body>
<parameters originalCompilationUnit="//@compilationUnits.0" name="year" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@expression">
<modifier/>
<type type="//@orphanTypes.0"/>
</parameters>
<returnType type="//@orphanTypes.5"/>
</bodyDeclarations>
</ownedElements>
<ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.1" name="Student" usagesInTypeAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.2/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.2/@fragments.0/@initializer/@type">
<modifier visibility="public"/>
<bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.1">
<modifier/>
<type type="//@orphanTypes.9"/>
<fragments originalCompilationUnit="//@compilationUnits.1" name="languages" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@expression/@expression //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.1/@expression/@expression">
<initializer xsi:type="java:ClassInstanceCreation" originalCompilationUnit="//@compilationUnits.1" method="//@ownedElements.1/@ownedPackages.2/@ownedElements.0/@bodyDeclarations.0">
<type type="//@orphanTypes.10"/>
</initializer>
</fragments>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.1" name="Student" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.2/@fragments.0/@initializer">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.1"/>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.1" name="addLanguage" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.3/@expression //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.4/@expression">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.1">
<statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.1">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.1" method="//@ownedElements.1/@ownedPackages.2/@ownedElements.4/@bodyDeclarations.0">
<arguments xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@parameters.0"/>
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0"/>
</expression>
</statements>
</body>
<parameters originalCompilationUnit="//@compilationUnits.1" name="language" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@expression/@arguments.0">
<modifier/>
<type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
</parameters>
<returnType type="//@orphanTypes.5"/>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.1" name="isBilingual" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.7/@expression/@arguments.0">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.1">
<statements xsi:type="java:VariableDeclarationStatement" originalCompilationUnit="//@compilationUnits.1">
<type type="//@orphanTypes.4"/>
<fragments originalCompilationUnit="//@compilationUnits.1" name="bool" usageInVariableAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.1/@statements.1/@expression/@leftHandSide //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.1/@statements.4/@expression/@leftHandSide //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.2/@expression">
<initializer xsi:type="java:BooleanLiteral" originalCompilationUnit="//@compilationUnits.1"/>
</fragments>
<modifier/>
</statements>
<statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.1">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.1" method="//@ownedElements.1/@ownedPackages.2/@ownedElements.4/@bodyDeclarations.1">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0"/>
</expression>
<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.3/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:BooleanLiteral" originalCompilationUnit="//@compilationUnits.1" value="true"/>
</expression>
</statements>
<statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.1"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.1" default="true"/>
<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.3/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:BooleanLiteral" originalCompilationUnit="//@compilationUnits.1"/>
</expression>
</statements>
<statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.1"/>
</statements>
<statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.1">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@fragments.0"/>
</statements>
</body>
<returnType type="//@orphanTypes.4"/>
</bodyDeclarations>
</ownedElements>
<ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.2" name="DayOfTheWeek" usagesInTypeAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.0/@type //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.0/@fragments.0/@initializer/@type">
<modifier visibility="public"/>
<bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.2" name="DayOfTheWeek" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.0/@fragments.0/@initializer">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.2"/>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.2" name="day" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.5/@expression/@arguments.0">
<modifier visibility="public"/>
<body originalCompilationUnit="//@compilationUnits.2">
<statements xsi:type="java:VariableDeclarationStatement" originalCompilationUnit="//@compilationUnits.2">
<type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
<fragments originalCompilationUnit="//@compilationUnits.2" name="dayString" usageInVariableAccess="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.1/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.4/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.7/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.10/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.13/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.16/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.19/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@statements.22/@expression/@leftHandSide //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.2/@expression">
<initializer xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;&quot;"/>
</fragments>
<modifier/>
</statements>
<statements xsi:type="java:SwitchStatement" originalCompilationUnit="//@compilationUnits.2">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Monday&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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Tuesday&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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Wednesday&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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Thursday&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="5"/>
</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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Friday&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="6"/>
</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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Saturday&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="7"/>
</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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Sunday&quot;"/>
</expression>
</statements>
<statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.2"/>
<statements xsi:type="java:SwitchCase" originalCompilationUnit="//@compilationUnits.2" default="true"/>
<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.1/@body/@statements.0/@fragments.0"/>
<rightHandSide xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.2" escapedValue="&quot;Invalid day&quot;"/>
</expression>
</statements>
<statements xsi:type="java:BreakStatement" originalCompilationUnit="//@compilationUnits.2"/>
</statements>
<statements xsi:type="java:ReturnStatement" originalCompilationUnit="//@compilationUnits.2">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.0/@fragments.0"/>
</statements>
</body>
<parameters originalCompilationUnit="//@compilationUnits.2" name="dayNumber" usageInVariableAccess="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.1/@expression">
<modifier/>
<type type="//@orphanTypes.0"/>
</parameters>
<returnType type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
</bodyDeclarations>
</ownedElements>
<ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.3" name="Main">
<modifier visibility="public"/>
<bodyDeclarations xsi:type="java:MethodDeclaration" originalCompilationUnit="//@compilationUnits.3" name="main">
<modifier visibility="public" static="true"/>
<body originalCompilationUnit="//@compilationUnits.3">
<statements xsi:type="java:VariableDeclarationStatement" originalCompilationUnit="//@compilationUnits.3">
<type type="//@ownedElements.0/@ownedElements.2"/>
<fragments originalCompilationUnit="//@compilationUnits.3" name="dayOfTheWeek" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.5/@expression/@arguments.0/@expression">
<initializer xsi:type="java:ClassInstanceCreation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.0">
<type type="//@ownedElements.0/@ownedElements.2"/>
</initializer>
</fragments>
<modifier/>
</statements>
<statements xsi:type="java:VariableDeclarationStatement" originalCompilationUnit="//@compilationUnits.3">
<type type="//@ownedElements.0/@ownedElements.0"/>
<fragments originalCompilationUnit="//@compilationUnits.3" name="course" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.6/@expression/@expression">
<initializer xsi:type="java:ClassInstanceCreation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0">
<type type="//@ownedElements.0/@ownedElements.0"/>
</initializer>
</fragments>
<modifier/>
</statements>
<statements xsi:type="java:VariableDeclarationStatement" originalCompilationUnit="//@compilationUnits.3">
<type type="//@ownedElements.0/@ownedElements.1"/>
<fragments originalCompilationUnit="//@compilationUnits.3" name="student" usageInVariableAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.3/@expression/@expression //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.4/@expression/@expression //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.7/@expression/@arguments.0/@expression">
<initializer xsi:type="java:ClassInstanceCreation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.1">
<type type="//@ownedElements.0/@ownedElements.1"/>
</initializer>
</fragments>
<modifier/>
</statements>
<statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2">
<arguments xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.3" escapedValue="&quot;French&quot;"/>
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.2/@fragments.0"/>
</expression>
</statements>
<statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2">
<arguments xsi:type="java:StringLiteral" originalCompilationUnit="//@compilationUnits.3" escapedValue="&quot;English&quot;"/>
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.2/@fragments.0"/>
</expression>
</statements>
<statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.0">
<arguments xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.2/@bodyDeclarations.1">
<arguments xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="5"/>
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.0/@fragments.0"/>
</arguments>
<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.3">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1">
<arguments xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.3" tokenValue="2"/>
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.1/@fragments.0"/>
</expression>
</statements>
<statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.3">
<expression xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.1">
<arguments xsi:type="java:MethodInvocation" originalCompilationUnit="//@compilationUnits.3" method="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3">
<expression xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.2/@fragments.0"/>
</arguments>
<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.3" name="args">
<modifier/>
<type type="//@orphanTypes.11"/>
</parameters>
<returnType type="//@orphanTypes.5"/>
</bodyDeclarations>
</ownedElements>
</ownedElements>
<ownedElements name="java" proxy="true">
<ownedPackages name="lang" proxy="true">
<ownedElements xsi:type="java:ClassDeclaration" name="String" proxy="true" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.0/@type //@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.0/@parameters.0/@type //@orphanTypes.9/@typeArguments.0 //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@parameters.0/@type //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@returnType //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@body/@statements.0/@type //@orphanTypes.11/@elementType">
<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"/>
<ownedElements xsi:type="java:ClassDeclaration" name="System" proxy="true" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.1/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.2/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.5/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.8/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.5/@expression/@expression/@qualifier //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.7/@expression/@expression/@qualifier">
<bodyDeclarations xsi:type="java:FieldDeclaration" proxy="true">
<fragments name="out" proxy="true" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.1/@expression/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.2/@expression/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.5/@expression/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.8/@expression/@expression //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.5/@expression/@expression //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.7/@expression/@expression"/>
</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"/>
<ownedElements xsi:type="java:InterfaceDeclaration" name="Iterable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.3/@superInterfaces.0">
<typeParameters name="T" proxy="true"/>
</ownedElements>
<ownedElements xsi:type="java:InterfaceDeclaration" name="Cloneable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.0/@superInterfaces.2"/>
<ownedElements xsi:type="java:ClassDeclaration" name="Object" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.4/@bodyDeclarations.0/@parameters.0/@type"/>
</ownedPackages>
<ownedPackages name="io" proxy="true">
<ownedElements xsi:type="java:InterfaceDeclaration" name="Serializable" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.0/@ownedElements.0/@superInterfaces.0 //@ownedElements.1/@ownedPackages.2/@ownedElements.0/@superInterfaces.3"/>
<ownedElements xsi:type="java:ClassDeclaration" name="PrintStream" proxy="true">
<bodyDeclarations xsi:type="java:MethodDeclaration" name="println" proxy="true" usages="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.1/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.2/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.5/@expression //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.8/@expression //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.5/@expression">
<parameters name="arg0" proxy="true">
<type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
</parameters>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:MethodDeclaration" name="println" proxy="true" usages="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@body/@statements.7/@expression">
<parameters name="arg0" proxy="true">
<type type="//@orphanTypes.4"/>
</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>
<ownedPackages name="util" proxy="true">
<ownedElements xsi:type="java:ClassDeclaration" name="ArrayList" proxy="true" usagesInImports="//@compilationUnits.1/@imports.0" usagesInTypeAccess="//@orphanTypes.10/@type">
<bodyDeclarations xsi:type="java:ConstructorDeclaration" name="ArrayList" proxy="true" usages="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0/@initializer"/>
<superInterfaces type="//@ownedElements.1/@ownedPackages.2/@ownedElements.4"/>
<superInterfaces type="//@ownedElements.1/@ownedPackages.2/@ownedElements.5"/>
<superInterfaces type="//@ownedElements.1/@ownedPackages.0/@ownedElements.7"/>
<superInterfaces type="//@ownedElements.1/@ownedPackages.1/@ownedElements.0"/>
<typeParameters name="E" proxy="true"/>
<superClass type="//@ownedElements.1/@ownedPackages.2/@ownedElements.1"/>
</ownedElements>
<ownedElements xsi:type="java:ClassDeclaration" name="AbstractList" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.0/@superClass">
<superInterfaces type="//@ownedElements.1/@ownedPackages.2/@ownedElements.4"/>
<typeParameters name="E" proxy="true"/>
<superClass type="//@ownedElements.1/@ownedPackages.2/@ownedElements.2"/>
</ownedElements>
<ownedElements xsi:type="java:ClassDeclaration" name="AbstractCollection" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.1/@superClass">
<superInterfaces type="//@ownedElements.1/@ownedPackages.2/@ownedElements.3"/>
<typeParameters name="E" proxy="true"/>
</ownedElements>
<ownedElements xsi:type="java:InterfaceDeclaration" name="Collection" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.2/@superInterfaces.0 //@ownedElements.1/@ownedPackages.2/@ownedElements.4/@superInterfaces.0">
<superInterfaces type="//@ownedElements.1/@ownedPackages.0/@ownedElements.6"/>
<typeParameters name="E" proxy="true"/>
</ownedElements>
<ownedElements xsi:type="java:InterfaceDeclaration" name="List" proxy="true" usagesInImports="//@compilationUnits.1/@imports.1" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.1/@superInterfaces.0 //@ownedElements.1/@ownedPackages.2/@ownedElements.0/@superInterfaces.0 //@orphanTypes.9/@type">
<bodyDeclarations xsi:type="java:MethodDeclaration" name="add" proxy="true" usages="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@body/@statements.0/@expression">
<parameters name="arg0" proxy="true">
<type type="//@ownedElements.1/@ownedPackages.0/@ownedElements.8"/>
</parameters>
</bodyDeclarations>
<bodyDeclarations xsi:type="java:MethodDeclaration" name="size" proxy="true" usages="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.1/@expression"/>
<superInterfaces type="//@ownedElements.1/@ownedPackages.2/@ownedElements.3"/>
<typeParameters name="E" proxy="true"/>
</ownedElements>
<ownedElements xsi:type="java:InterfaceDeclaration" name="RandomAccess" proxy="true" usagesInTypeAccess="//@ownedElements.1/@ownedPackages.2/@ownedElements.0/@superInterfaces.1"/>
</ownedPackages>
</ownedElements>
<orphanTypes xsi:type="java:PrimitiveTypeInt" name="int" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@parameters.0/@type //@ownedElements.0/@ownedElements.2/@bodyDeclarations.1/@parameters.0/@type"/>
<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" usagesInTypeAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@returnType //@ownedElements.0/@ownedElements.1/@bodyDeclarations.3/@body/@statements.0/@type //@ownedElements.1/@ownedPackages.1/@ownedElements.1/@bodyDeclarations.1/@parameters.0/@type"/>
<orphanTypes xsi:type="java:PrimitiveTypeVoid" name="void" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@returnType //@ownedElements.0/@ownedElements.1/@bodyDeclarations.2/@returnType //@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@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:ParameterizedType" name="java.util.List&lt;java.lang.String>" usagesInTypeAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@type">
<type type="//@ownedElements.1/@ownedPackages.2/@ownedElements.4"/>
<typeArguments type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
</orphanTypes>
<orphanTypes xsi:type="java:ParameterizedType" name="java.util.ArrayList&lt;java.lang.String>" usagesInTypeAccess="//@ownedElements.0/@ownedElements.1/@bodyDeclarations.0/@fragments.0/@initializer/@type">
<type type="//@ownedElements.1/@ownedPackages.2/@ownedElements.0"/>
</orphanTypes>
<orphanTypes xsi:type="java:ArrayType" name="java.lang.String[]" usagesInTypeAccess="//@ownedElements.0/@ownedElements.3/@bodyDeclarations.0/@parameters.0/@type" dimensions="1">
<elementType type="//@ownedElements.1/@ownedPackages.0/@ownedElements.0"/>
</orphanTypes>
<compilationUnits name="Course.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\TooFewBranchesForASwitchStatement\src\tooFewBranchesForASwitchStatement\Course.java" commentList="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@body/@statements.1/@statements.4/@statements.0/@comments.0" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.0"/>
<compilationUnits name="Student.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\TooFewBranchesForASwitchStatement\src\tooFewBranchesForASwitchStatement\Student.java" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.1">
<imports originalCompilationUnit="//@compilationUnits.1" importedElement="//@ownedElements.1/@ownedPackages.2/@ownedElements.0"/>
<imports originalCompilationUnit="//@compilationUnits.1" importedElement="//@ownedElements.1/@ownedPackages.2/@ownedElements.4"/>
</compilationUnits>
<compilationUnits name="DayOfTheWeek.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\TooFewBranchesForASwitchStatement\src\tooFewBranchesForASwitchStatement\DayOfTheWeek.java" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.2"/>
<compilationUnits name="Main.java" originalFilePath="G:\Gitlab\m2-mde-projet\src\main\java\TooFewBranchesForASwitchStatement\src\tooFewBranchesForASwitchStatement\Main.java" package="//@ownedElements.0" types="//@ownedElements.0/@ownedElements.3"/>
</java:Model>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment