2170-3-4

XMLTypeResourceImpl.DataFrame pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName; qName = null; resultQName.pushOnto(previous); resultQName.handleAttributes(attributes); return resultQName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popQName(XMLTypeResourceImpl.DataFrame qName) { QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue()); this.qName = qName; return resultQNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushShort(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultShort = short_ == null ? new XMLTypeResourceImpl.DataFrame() : short_; short_ = null; resultShort.pushOnto(previous); resultShort.handleAttributes(attributes); return resultShort; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public short popShort(XMLTypeResourceImpl.DataFrame short_) { short resultShortValue = XMLTypeFactory.eINSTANCE.createShort(short_.popValue()); this.short_ = short_; return resultShortValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushShortObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultShortObject = shortObject == null ? new XMLTypeResourceImpl.DataFrame() : shortObject; shortObject = null; resultShortObject.pushOnto(previous); resultShortObject.handleAttributes(attributes); return resultShortObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject) { Short resultShortObjectValue = XMLTypeFactory.eINSTANCE.createShortObject(shortObject.popValue()); this.shortObject = shortObject; return resultShortObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultString = string == null ? new XMLTypeResourceImpl.DataFrame() : string; string = null; resultString.pushOnto(previous); resultString.handleAttributes(attributes); return resultString; }
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 pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName;↵

3

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

4

           qName↵

4

    unsignedByteObject;↵

5

     = null;↵

5

           unsignedByteObject = null;↵

6

           resultQName.pushOnto(previous);↵

6

           resultUnsignedByteObject.pushOnto(previous);↵

7

           resultQName.handleAttributes(attributes);↵

7

           resultUnsignedByteObject.handleAttributes(attributes);↵

8

           return resultQName;↵

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 QName popQName(XMLTypeResourceImpl.DataFrame qName)↵

15

        public Short popUnsignedByteObject(XMLTypeResourceImpl.DataFrame unsignedByteObject)↵

16

        {↵

16

        {↵

17

          QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue());↵

17

          Short resultUnsignedByteObjectValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.qName = qName↵

18

    UnsignedByteObject(unsignedByteObject.popValue());↵

19

    ;↵

19

          this.unsignedByteObject = unsignedByteObject;↵

20

          return resultQNameValue;↵

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 pushShort(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

27

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

28

        {↵

28

        {↵

29

           XMLTypeResourceImpl.DataFrame resultShort = short_ == null ? new XMLTypeResourceImpl.DataFrame() : short_;↵

29

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

30

           short_↵

30

    unsignedInt;↵

31

     = null;↵

31

           unsignedInt = null;↵

32

           resultShort.pushOnto(previous);↵

32

           resultUnsignedInt.pushOnto(previous);↵

33

           resultShort.handleAttributes(attributes);↵

33

           resultUnsignedInt.handleAttributes(attributes);↵

34

           return resultShort;↵

34

           return resultUnsignedInt;↵

35

        }↵

35

        }↵

36

        /**↵

36

        /**↵

37

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

37

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

38

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

38

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

39

         * @generated↵

39

         * @generated↵

40

         */↵

40

         */↵

41

        public short popShort(XMLTypeResourceImpl.DataFrame short_)↵

41

        public long popUnsignedInt(XMLTypeResourceImpl.DataFrame unsignedInt)↵

42

        {↵

42

        {↵

43

          short resultShortValue = XMLTypeFactory.eINSTANCE.createShort(short_.popValue());↵

43

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

44

          this.short_ = short_;↵

44

          this.unsignedInt = unsignedInt;↵

45

          return resultShortValue;↵

45

          return resultUnsignedIntValue;↵

46

        }↵

46

        }↵

47

        /**↵

47

        /**↵

48

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

48

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

49

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

49

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

50

         * @generated↵

50

         * @generated↵

51

         */↵

51

         */↵

52

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

52

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

53

        {↵

53

        {↵

54

           XMLTypeResourceImpl.DataFrame resultShortObject = shortObject == null ? new XMLTypeResourceImpl.DataFrame() : shortObject;↵

54

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

55

           shortObject = null;↵

55

           unsignedIntObject = null;↵

56

           resultShortObject.pushOnto(previous);↵

56

           resultUnsignedIntObject.pushOnto(previous);↵

57

           resultShortObject.handleAttributes(attributes);↵

57

           resultUnsignedIntObject.handleAttributes(attributes);↵

58

           return resultShortObject;↵

58

           return resultUnsignedIntObject;↵

59

        }↵

59

        }↵

60

        /**↵

60

        /**↵

61

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

61

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

62

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

62

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

63

         * @generated↵

63

         * @generated↵

64

         */↵

64

         */↵

65

        public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject)↵

65

        public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame unsignedIntObject)↵

66

        {↵

66

        {↵

67

          Short resultShortObjectValue = XMLTypeFactory.eINSTANCE.createShortObject(shortObject.popValue());↵

67

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

68

          this.shortObject = shortObject;↵

68

          this.unsignedIntObject = unsignedIntObject;↵

69

          return resultShortObjectValue;↵

69

          return resultUnsignedIntObjectValue;↵

70

        }↵

70

        }↵

71

        /**↵

71

        /**↵

72

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

72

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

73

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

73

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

74

         * @generated↵

74

         * @generated↵

75

         */↵

75

         */↵

76

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

76

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

77

        {↵

77

        {↵

78

           XMLTypeResourceImpl.DataFrame resultString = string == null ? new XMLTypeResourceImpl.DataFrame() : string;↵

78

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

79

           string = null;↵

79

           unsignedLong = null;↵

80

           resultString.pushOnto(previous);↵

80

           resultUnsignedLong.pushOnto(previous);↵

81

           resultString.handleAttributes(attributes);↵

81

           resultUnsignedLong.handleAttributes(attributes);↵

82

           return resultString;↵

82

           return resultUnsignedLong;↵

83

        }

83

        }

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