2167-2-3

XMLTypeResourceImpl.DataFrame pushPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : positiveInteger; positiveInteger = null; resultPositiveInteger.pushOnto(previous); resultPositiveInteger.handleAttributes(attributes); return resultPositiveInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popPositiveInteger(XMLTypeResourceImpl.DataFrame positiveInteger) { BigInteger resultPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createPositiveInteger(positiveInteger.popValue()); this.positiveInteger = positiveInteger; return resultPositiveIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
XMLTypeResourceImpl.DataFrame pushIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject; intObject = null; resultIntObject.pushOnto(previous); resultIntObject.handleAttributes(attributes); return resultIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject) { Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue()); this.intObject = intObject; return resultIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLanguage(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language; language = null; resultLanguage.pushOnto(previous); resultLanguage.handleAttributes(attributes); return resultLanguage; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popLanguage(XMLTypeResourceImpl.DataFrame language) { String resultLanguageValue = XMLTypeFactory.eINSTANCE.createLanguage(language.popValue()); this.language = language; return resultLanguageValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLong(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLong = long_ == null ? new XMLTypeResourceImpl.DataFrame() : long_; long_ = null; resultLong.pushOnto(previous); resultLong.handleAttributes(attributes); return resultLong; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public long popLong(XMLTypeResourceImpl.DataFrame long_) { long resultLongValue = XMLTypeFactory.eINSTANCE.createLong(long_.popValue()); this.long_ = long_; return resultLongValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLongObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject; longObject = null; resultLongObject.pushOnto(previous); resultLongObject.handleAttributes(attributes); return resultLongObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject) { Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue()); this.longObject = longObject; return resultLongObjectValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : positiveInteger;↵

3

           XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           positiveInteger↵

4

    intObject;↵

5

     = null;↵

5

           intObject = null;↵

6

           resultPositiveInteger.pushOnto(previous);↵

6

           resultIntObject.pushOnto(previous);↵

7

           resultPositiveInteger.handleAttributes(attributes);↵

7

           resultIntObject.handleAttributes(attributes);↵

8

           return resultPositiveInteger;↵

8

           return resultIntObject;↵

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 BigInteger popPositiveInteger(XMLTypeResourceImpl.DataFrame positiveInteger)↵

15

        public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject)↵

16

        {↵

16

        {↵

17

          BigInteger resultPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createPositiveInteger(positiveInteger.popValue());↵

17

          Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.positiveInteger = positiveInteger↵

18

    IntObject(intObject.popValue());↵

19

    ;↵

19

          this.intObject = intObject;↵

20

          return resultPositiveIntegerValue;↵

20

          return resultIntObjectValue;↵

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

27

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

28

        {↵

28

        {↵

29

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

29

           XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language;↵

30

           qName = null;↵

30

           language = null;↵

31

           resultQName.pushOnto(previous);↵

31

           resultLanguage.pushOnto(previous);↵

32

           resultQName.handleAttributes(attributes);↵

32

           resultLanguage.handleAttributes(attributes);↵

33

           return resultQName;↵

33

           return resultLanguage;↵

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

40

        public String popLanguage(XMLTypeResourceImpl.DataFrame language)↵

41

        {↵

41

        {↵

42

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

42

          String resultLanguageValue = XMLTypeFactory.eINSTANCE.createLanguage(language.popValue());↵

43

          this.qName = qName;↵

43

          this.language = language;↵

44

          return resultQNameValue;↵

44

          return resultLanguageValue;↵

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

51

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

52

        {↵

52

        {↵

53

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

53

           XMLTypeResourceImpl.DataFrame resultLong = long_ == null ? new XMLTypeResourceImpl.DataFrame() : long_;↵

54

           short_ = null;↵

54

           long_ = null;↵

55

           resultShort.pushOnto(previous);↵

55

           resultLong.pushOnto(previous);↵

56

           resultShort.handleAttributes(attributes);↵

56

           resultLong.handleAttributes(attributes);↵

57

           return resultShort;↵

57

           return resultLong;↵

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 popShort(XMLTypeResourceImpl.DataFrame short_)↵

64

        public long popLong(XMLTypeResourceImpl.DataFrame long_)↵

65

        {↵

65

        {↵

66

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

66

          long resultLongValue = XMLTypeFactory.eINSTANCE.createLong(long_.popValue());↵

67

          this.short_ = short_;↵

67

          this.long_ = long_;↵

68

          return resultShortValue;↵

68

          return resultLongValue;↵

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

75

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

76

        {↵

76

        {↵

77

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

77

           XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject;↵

78

           shortObject = null;↵

78

           longObject = null;↵

79

           resultShortObject.pushOnto(previous);↵

79

           resultLongObject.pushOnto(previous);↵

80

           resultShortObject.handleAttributes(attributes);↵

80

           resultLongObject.handleAttributes(attributes);↵

81

           return resultShortObject;↵

81

           return resultLongObject;↵

82

        }↵

82

        }↵

83

        /**↵

83

        /**↵

84

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

84

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

85

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

85

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

86

         * @generated↵

86

         * @generated↵

87

         */↵

87

         */↵

88

        public Short popShortObject(XMLTypeResourceImpl.DataFrame shortObject)↵

88

        public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject)↵

89

        {↵

89

        {↵

90

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

90

          Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue());↵

91

          this.shortObject = shortObject;↵

91

          this.longObject = longObject;↵

92

          return resultShortObjectValue;↵

92

          return resultLongObjectValue;↵

93

        }

93

        }

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