2170-2-4

XMLTypeResourceImpl.DataFrame pushToken(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : token; token = null; resultToken.pushOnto(previous); resultToken.handleAttributes(attributes); return resultToken; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popToken(XMLTypeResourceImpl.DataFrame token) { String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue()); this.token = token; return resultTokenValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedByte(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByte = unsignedByte == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByte; unsignedByte = null; resultUnsignedByte.pushOnto(previous); resultUnsignedByte.handleAttributes(attributes); return resultUnsignedByte; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public short popUnsignedByte(XMLTypeResourceImpl.DataFrame unsignedByte) { short resultUnsignedByteValue = XMLTypeFactory.eINSTANCE.createUnsignedByte(unsignedByte.popValue()); this.unsignedByte = unsignedByte; return resultUnsignedByteValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject; unsignedByteObject = null; resultUnsignedByteObject.pushOnto(previous); resultUnsignedByteObject.handleAttributes(attributes); return resultUnsignedByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject) { Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue()); this.unsignedByteObject = unsignedByteObject; return resultUnsignedByteObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt; unsignedInt = null; resultUnsignedInt.pushOnto(previous); resultUnsignedInt.handleAttributes(attributes); return resultUnsignedInt; }
XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject; unsignedByteObject = null; resultUnsignedByteObject.pushOnto(previous); resultUnsignedByteObject.handleAttributes(attributes); return resultUnsignedByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject) { Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue()); this.unsignedByteObject = unsignedByteObject; return resultUnsignedByteObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt; unsignedInt = null; resultUnsignedInt.pushOnto(previous); resultUnsignedInt.handleAttributes(attributes); return resultUnsignedInt; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public long popUnsignedInt(XMLTypeResourceImpl.DataFrame unsignedInt) { long resultUnsignedIntValue = XMLTypeFactory.eINSTANCE.createUnsignedInt(unsignedInt.popValue()); this.unsignedInt = unsignedInt; return resultUnsignedIntValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedIntObject = unsignedIntObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedIntObject; unsignedIntObject = null; resultUnsignedIntObject.pushOnto(previous); resultUnsignedIntObject.handleAttributes(attributes); return resultUnsignedIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject) { Long resultUnsignedIntObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedIntObject(unsignedIntObject.popValue()); this.unsignedIntObject = unsignedIntObject; return resultUnsignedIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushUnsignedLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedLong = unsignedLong == null ? new XMLTypeResourceImpl.DataFrame() : unsignedLong; unsignedLong = null; resultUnsignedLong.pushOnto(previous); resultUnsignedLong.handleAttributes(attributes); return resultUnsignedLong; }

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeResourceImpl.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeResourceImpl.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    XMLTypeResourceImpl.DataFrame pushToken(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

    XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : token;↵

3

           XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           token↵

4

    unsignedByteObject;↵

5

     = null;↵

5

           unsignedByteObject = null;↵

6

           resultToken.pushOnto(previous);↵

6

           resultUnsignedByteObject.pushOnto(previous);↵

7

           resultToken.handleAttributes(attributes);↵

7

           resultUnsignedByteObject.handleAttributes(attributes);↵

8

           return resultToken;↵

8

           return resultUnsignedByteObject;↵

9

        }↵

9

        }↵

10

        /**↵

10

        /**↵

11

         * <!-- begin-user-doc -->↵

11

         * <!-- begin-user-doc -->↵

12

         * <!-- end-user-doc -->↵

12

         * <!-- end-user-doc -->↵

13

         * @generated↵

13

         * @generated↵

14

         */↵

14

         */↵

15

        public String popToken(XMLTypeResourceImpl.DataFrame token)↵

15

        public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

16

        {↵

16

        {↵

17

          String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue());↵

17

          Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.token = token↵

18

    UnsignedByteObject(unsignedByteObject.popValue());↵

19

    ;↵

19

          this.unsignedByteObject = unsignedByteObject;↵

20

          return resultTokenValue;↵

20

          return resultUnsignedByteObjectValue;↵

21

        }↵

21

        }↵

22

        /**↵

22

        /**↵

23

         * <!-- begin-user-doc -->↵

23

         * <!-- begin-user-doc -->↵

24

         * <!-- end-user-doc -->↵

24

         * <!-- end-user-doc -->↵

25

         * @generated↵

25

         * @generated↵

26

         */↵

26

         */↵

27

        public XMLTypeResourceImpl.DataFrame pushUnsignedByte(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

27

        public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

28

        {↵

28

        {↵

29

           XMLTypeResourceImpl.DataFrame resultUnsignedByte = unsignedByte == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByte;↵

29

           XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt;↵

30

           unsignedByte = null;↵

30

           unsignedInt = null;↵

31

           resultUnsignedByte.pushOnto(previous);↵

31

           resultUnsignedInt.pushOnto(previous);↵

32

           resultUnsignedByte.handleAttributes(attributes);↵

32

           resultUnsignedInt.handleAttributes(attributes);↵

33

           return resultUnsignedByte;↵

33

           return resultUnsignedInt;↵

34

        }↵

34

        }↵

35

        /**↵

35

        /**↵

36

         * <!-- begin-user-doc -->↵

36

         * <!-- begin-user-doc -->↵

37

         * <!-- end-user-doc -->↵

37

         * <!-- end-user-doc -->↵

38

         * @generated↵

38

         * @generated↵

39

         */↵

39

         */↵

40

        public short popUnsignedByte(XMLTypeResourceImpl.DataFrame unsignedByte)↵

40

        public long popUnsignedInt(XMLTypeResourceImpl.DataFrame unsignedInt)↵

41

        {↵

41

        {↵

42

          short resultUnsignedByteValue = XMLTypeFactory.eINSTANCE.createUnsignedByte(unsignedByte.popValue());↵

42

          long resultUnsignedIntValue = XMLTypeFactory.eINSTANCE.createUnsignedInt(unsignedInt.popValue());↵

43

          this.unsignedByte = unsignedByte;↵

43

          this.unsignedInt = unsignedInt;↵

44

          return resultUnsignedByteValue;↵

44

          return resultUnsignedIntValue;↵

45

        }↵

45

        }↵

46

        /**↵

46

        /**↵

47

         * <!-- begin-user-doc -->↵

47

         * <!-- begin-user-doc -->↵

48

         * <!-- end-user-doc -->↵

48

         * <!-- end-user-doc -->↵

49

         * @generated↵

49

         * @generated↵

50

         */↵

50

         */↵

51

        public XMLTypeResourceImpl.DataFrame pushUnsignedByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

51

        public XMLTypeResourceImpl.DataFrame pushUnsignedIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

52

        {↵

52

        {↵

53

           XMLTypeResourceImpl.DataFrame resultUnsignedByteObject = unsignedByteObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedByteObject;↵

53

           XMLTypeResourceImpl.DataFrame resultUnsignedIntObject = unsignedIntObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedIntObject;↵

54

           unsignedByteObject = null;↵

54

           unsignedIntObject = null;↵

55

           resultUnsignedByteObject.pushOnto(previous);↵

55

           resultUnsignedIntObject.pushOnto(previous);↵

56

           resultUnsignedByteObject.handleAttributes(attributes);↵

56

           resultUnsignedIntObject.handleAttributes(attributes);↵

57

           return resultUnsignedByteObject;↵

57

           return resultUnsignedIntObject;↵

58

        }↵

58

        }↵

59

        /**↵

59

        /**↵

60

         * <!-- begin-user-doc -->↵

60

         * <!-- begin-user-doc -->↵

61

         * <!-- end-user-doc -->↵

61

         * <!-- end-user-doc -->↵

62

         * @generated↵

62

         * @generated↵

63

         */↵

63

         */↵

64

        public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

64

        public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject)↵

65

        {↵

65

        {↵

66

          Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedByteObject(unsignedByteObject.popValue());↵

66

          Long resultUnsignedIntObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedIntObject(unsignedIntObject.popValue());↵

67

          this.unsignedByteObject = unsignedByteObject;↵

67

          this.unsignedIntObject = unsignedIntObject;↵

68

          return resultUnsignedByteObjectValue;↵

68

          return resultUnsignedIntObjectValue;↵

69

        }↵

69

        }↵

70

        /**↵

70

        /**↵

71

         * <!-- begin-user-doc -->↵

71

         * <!-- begin-user-doc -->↵

72

         * <!-- end-user-doc -->↵

72

         * <!-- end-user-doc -->↵

73

         * @generated↵

73

         * @generated↵

74

         */↵

74

         */↵

75

        public XMLTypeResourceImpl.DataFrame pushUnsignedInt(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

75

        public XMLTypeResourceImpl.DataFrame pushUnsignedLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

76

        {↵

76

        {↵

77

           XMLTypeResourceImpl.DataFrame resultUnsignedInt = unsignedInt == null ? new XMLTypeResourceImpl.DataFrame() : unsignedInt;↵

77

           XMLTypeResourceImpl.DataFrame resultUnsignedLong = unsignedLong == null ? new XMLTypeResourceImpl.DataFrame() : unsignedLong;↵

78

           unsignedInt = null;↵

78

           unsignedLong = null;↵

79

           resultUnsignedInt.pushOnto(previous);↵

79

           resultUnsignedLong.pushOnto(previous);↵

80

           resultUnsignedInt.handleAttributes(attributes);↵

80

           resultUnsignedLong.handleAttributes(attributes);↵

81

           return resultUnsignedInt;↵

81

           return resultUnsignedLong;↵

82

        }

82

        }

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 0
Number of refactorable cases | 0
Number of non-refactorable cases | 0
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location |
Number of node comparisons | 0