comment-content.xmi 4.42 KB
Newer Older
Ronan GUEGUEN's avatar
Ronan GUEGUEN committed
1
2
3
4
5
6
7
8
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
<?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="Jerk">
  <ownedElements name="(default package)">
    <ownedElements xsi:type="java:ClassDeclaration" originalCompilationUnit="//@compilationUnits.0" name="Jerk">
      <modifier visibility="public"/>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.0">
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// this variable is named counter" prefixOfParent="true"/>
        <modifier visibility="private"/>
        <type type="//@orphanTypes.0"/>
        <fragments originalCompilationUnit="//@compilationUnits.0" name="counter" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.2/@body/@statements.0/@expression/@leftHandSide"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:FieldDeclaration" originalCompilationUnit="//@compilationUnits.0">
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// this one is named idiot" prefixOfParent="true"/>
        <modifier visibility="private"/>
        <type type="//@orphanTypes.4"/>
        <fragments originalCompilationUnit="//@compilationUnits.0" name="idiot" usageInVariableAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.2/@body/@statements.1/@expression/@leftHandSide"/>
      </bodyDeclarations>
      <bodyDeclarations xsi:type="java:ConstructorDeclaration" originalCompilationUnit="//@compilationUnits.0" name="Jerk">
        <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// whoever named these variables is a jerk" prefixOfParent="true"/>
        <modifier visibility="public"/>
        <body originalCompilationUnit="//@compilationUnits.0">
          <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.0">
            <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.0">
              <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@fragments.0"/>
              <rightHandSide xsi:type="java:NumberLiteral" originalCompilationUnit="//@compilationUnits.0" tokenValue="1"/>
            </expression>
          </statements>
          <statements xsi:type="java:ExpressionStatement" originalCompilationUnit="//@compilationUnits.0">
            <comments xsi:type="java:LineComment" originalCompilationUnit="//@compilationUnits.0" content="// you shouldn't name variable like that you cunt, tapir" prefixOfParent="true"/>
            <expression xsi:type="java:Assignment" originalCompilationUnit="//@compilationUnits.0">
              <leftHandSide xsi:type="java:SingleVariableAccess" variable="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@fragments.0"/>
              <rightHandSide xsi:type="java:BooleanLiteral" originalCompilationUnit="//@compilationUnits.0" value="true"/>
            </expression>
          </statements>
        </body>
      </bodyDeclarations>
    </ownedElements>
  </ownedElements>
  <orphanTypes xsi:type="java:PrimitiveTypeInt" name="int" usagesInTypeAccess="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.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.0/@bodyDeclarations.1/@type"/>
  <orphanTypes xsi:type="java:PrimitiveTypeVoid" name="void"/>
  <orphanTypes xsi:type="java:PrimitiveTypeChar" name="char"/>
  <orphanTypes xsi:type="java:PrimitiveTypeShort" name="short"/>
  <orphanTypes xsi:type="java:PrimitiveTypeByte" name="byte"/>
  <compilationUnits name="Jerk.java" originalFilePath="/comptes/E134932Q/MDE/Jerk/src/Jerk.java" commentList="//@ownedElements.0/@ownedElements.0/@bodyDeclarations.0/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.1/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.2/@comments.0 //@ownedElements.0/@ownedElements.0/@bodyDeclarations.2/@body/@statements.1/@comments.0" types="//@ownedElements.0/@ownedElements.0"/>
</java:Model>