2155-1-2

XMLTypeResourceImpl.DataFrame pushGMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth; gMonth = null; resultGMonth.pushOnto(previous); resultGMonth.handleAttributes(attributes); return resultGMonth; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth) { XMLGregorianCalendar resultGMonthValue = XMLTypeFactory.eINSTANCE.createGMonth(gMonth.popValue()); this.gMonth = gMonth; return resultGMonthValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGMonthDay(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonthDay = gMonthDay == null ? new XMLTypeResourceImpl.DataFrame() : gMonthDay; gMonthDay = null; resultGMonthDay.pushOnto(previous); resultGMonthDay.handleAttributes(attributes); return resultGMonthDay; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame gMonthDay) { XMLGregorianCalendar resultGMonthDayValue = XMLTypeFactory.eINSTANCE.createGMonthDay(gMonthDay.popValue()); this.gMonthDay = gMonthDay; return resultGMonthDayValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGYear(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGYear = gYear == null ? new XMLTypeResourceImpl.DataFrame() : gYear; gYear = null; resultGYear.pushOnto(previous); resultGYear.handleAttributes(attributes); return resultGYear; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGYear(XMLTypeResourceImpl.DataFrame gYear) { XMLGregorianCalendar resultGYearValue = XMLTypeFactory.eINSTANCE.createGYear(gYear.popValue()); this.gYear = gYear; return resultGYearValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGYearMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGYearMonth = gYearMonth == null ? new XMLTypeResourceImpl.DataFrame() : gYearMonth; gYearMonth = null; resultGYearMonth.pushOnto(previous); resultGYearMonth.handleAttributes(attributes); return resultGYearMonth; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGYearMonth(XMLTypeResourceImpl.DataFrame gYearMonth) { XMLGregorianCalendar resultGYearMonthValue = XMLTypeFactory.eINSTANCE.createGYearMonth(gYearMonth.popValue()); this.gYearMonth = gYearMonth; return resultGYearMonthValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushHexBinary(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultHexBinary = hexBinary == null ? new XMLTypeResourceImpl.DataFrame() : hexBinary; hexBinary = null; resultHexBinary.pushOnto(previous); resultHexBinary.handleAttributes(attributes); return resultHexBinary; }
XMLTypeResourceImpl.DataFrame pushGDay(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGDay = gDay == null ? new XMLTypeResourceImpl.DataFrame() : gDay; gDay = null; resultGDay.pushOnto(previous); resultGDay.handleAttributes(attributes); return resultGDay; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay) { XMLGregorianCalendar resultGDayValue = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue()); this.gDay = gDay; return resultGDayValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth; gMonth = null; resultGMonth.pushOnto(previous); resultGMonth.handleAttributes(attributes); return resultGMonth; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth) { XMLGregorianCalendar resultGMonthValue = XMLTypeFactory.eINSTANCE.createGMonth(gMonth.popValue()); this.gMonth = gMonth; return resultGMonthValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGMonthDay(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonthDay = gMonthDay == null ? new XMLTypeResourceImpl.DataFrame() : gMonthDay; gMonthDay = null; resultGMonthDay.pushOnto(previous); resultGMonthDay.handleAttributes(attributes); return resultGMonthDay; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame gMonthDay) { XMLGregorianCalendar resultGMonthDayValue = XMLTypeFactory.eINSTANCE.createGMonthDay(gMonthDay.popValue()); this.gMonthDay = gMonthDay; return resultGMonthDayValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGYear(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGYear = gYear == null ? new XMLTypeResourceImpl.DataFrame() : gYear; gYear = null; resultGYear.pushOnto(previous); resultGYear.handleAttributes(attributes); return resultGYear; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGYear(XMLTypeResourceImpl.DataFrame gYear) { XMLGregorianCalendar resultGYearValue = XMLTypeFactory.eINSTANCE.createGYear(gYear.popValue()); this.gYear = gYear; return resultGYearValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGYearMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGYearMonth = gYearMonth == null ? new XMLTypeResourceImpl.DataFrame() : gYearMonth; gYearMonth = null; resultGYearMonth.pushOnto(previous); resultGYearMonth.handleAttributes(attributes); return resultGYearMonth; }

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

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultGDay = gDay == null ? new XMLTypeResourceImpl.DataFrame() : gDay;↵

4

           gDay = null;↵

5

           resultGDay.pushOnto(previous);↵

6

           resultGDay.handleAttributes(attributes);↵

7

           return resultGDay;↵

8

        }↵

9

        /**↵

10

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

11

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

12

         * @generated↵

13

         */↵

14

        public XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay)↵

15

        {↵

16

          XMLGregorianCalendar resultGDayValue = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue());↵

17

          this.gDay = gDay;↵

18

          return resultGDayValue;↵

19

        }↵

20

        /**↵

21

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

22

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

23

         * @generated↵

24

         */↵

1

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

25

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

2

        {↵

26

        {↵

3

           XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth;↵

27

           XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth;↵

4

           gMonth = null;↵

28

           gMonth = null;↵

5

           resultGMonth.pushOnto(previous);↵

29

           resultGMonth.pushOnto(previous);↵

6

           resultGMonth.handleAttributes(attributes);↵

30

           resultGMonth.handleAttributes(attributes);↵

7

           return resultGMonth;↵

31

           return resultGMonth;↵

8

        }↵

32

        }↵

9

        /**↵

33

        /**↵

10

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

34

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

11

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

35

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

12

         * @generated↵

36

         * @generated↵

13

         */↵

37

         */↵

14

        public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth)↵

38

        public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth)↵

15

        {↵

39

        {↵

16

          XMLGregorianCalendar resultGMonthValue = XMLTypeFactory.eINSTANCE.createGMonth(gMonth.popValue());↵

40

          XMLGregorianCalendar resultGMonthValue = XMLTypeFactory.eINSTANCE.createGMonth(gMonth.popValue());↵

17

          this.gMonth = gMonth;↵

41

          this.gMonth = gMonth;↵

18

          return resultGMonthValue;↵

42

          return resultGMonthValue;↵

19

        }↵

43

        }↵

20

        /**↵

44

        /**↵

21

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

45

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

22

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

46

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

23

         * @generated↵

47

         * @generated↵

24

         */↵

48

         */↵

25

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

49

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

26

        {↵

50

        {↵

27

           XMLTypeResourceImpl.DataFrame resultGMonthDay = gMonthDay == null ? new XMLTypeResourceImpl.DataFrame() : gMonthDay;↵

51

           XMLTypeResourceImpl.DataFrame resultGMonthDay = gMonthDay == null ? new XMLTypeResourceImpl.DataFrame() : gMonthDay;↵

28

           gMonthDay = null;↵

52

           gMonthDay = null;↵

29

           resultGMonthDay.pushOnto(previous);↵

53

           resultGMonthDay.pushOnto(previous);↵

30

           resultGMonthDay.handleAttributes(attributes);↵

54

           resultGMonthDay.handleAttributes(attributes);↵

31

           return resultGMonthDay;↵

55

           return resultGMonthDay;↵

32

        }↵

56

        }↵

33

        /**↵

57

        /**↵

34

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

58

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

35

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

59

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

36

         * @generated↵

60

         * @generated↵

37

         */↵

61

         */↵

38

        public XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame gMonthDay)↵

62

        public XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame gMonthDay)↵

39

        {↵

63

        {↵

40

          XMLGregorianCalendar resultGMonthDayValue = XMLTypeFactory.eINSTANCE.createGMonthDay(gMonthDay.popValue());↵

64

          XMLGregorianCalendar resultGMonthDayValue = XMLTypeFactory.eINSTANCE.createGMonthDay(gMonthDay.popValue());↵

41

          this.gMonthDay = gMonthDay;↵

65

          this.gMonthDay = gMonthDay;↵

42

          return resultGMonthDayValue;↵

66

          return resultGMonthDayValue;↵

43

        }↵

67

        }↵

44

        /**↵

68

        /**↵

45

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

69

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

46

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

70

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

47

         * @generated↵

71

         * @generated↵

48

         */↵

72

         */↵

49

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

73

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

50

        {↵

74

        {↵

51

           XMLTypeResourceImpl.DataFrame resultGYear = gYear == null ? new XMLTypeResourceImpl.DataFrame() : gYear;↵

75

           XMLTypeResourceImpl.DataFrame resultGYear = gYear == null ? new XMLTypeResourceImpl.DataFrame() : gYear;↵

52

           gYear = null;↵

76

           gYear = null;↵

53

           resultGYear.pushOnto(previous);↵

77

           resultGYear.pushOnto(previous);↵

54

           resultGYear.handleAttributes(attributes);↵

78

           resultGYear.handleAttributes(attributes);↵

55

           return resultGYear;↵

79

           return resultGYear;↵

56

        }↵

80

        }↵

57

        /**↵

81

        /**↵

58

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

82

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

59

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

83

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

60

         * @generated↵

84

         * @generated↵

61

         */↵

85

         */↵

62

        public XMLGregorianCalendar popGYear(XMLTypeResourceImpl.DataFrame gYear)↵

86

        public XMLGregorianCalendar popGYear(XMLTypeResourceImpl.DataFrame gYear)↵

63

        {↵

87

        {↵

64

          XMLGregorianCalendar resultGYearValue = XMLTypeFactory.eINSTANCE.createGYear(gYear.popValue());↵

88

          XMLGregorianCalendar resultGYearValue = XMLTypeFactory.eINSTANCE.createGYear(gYear.popValue());↵

65

          this.gYear = gYear;↵

89

          this.gYear = gYear;↵

66

          return resultGYearValue;↵

90

          return resultGYearValue;↵

67

        }↵

91

        }↵

68

        /**↵

92

        /**↵

69

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

93

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

70

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

94

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

71

         * @generated↵

95

         * @generated↵

72

         */↵

96

         */↵

73

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

97

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

74

        {↵

98

        {↵

75

           XMLTypeResourceImpl.DataFrame resultGYearMonth = gYearMonth == null ? new XMLTypeResourceImpl.DataFrame() : gYearMonth;↵

99

           XMLTypeResourceImpl.DataFrame resultGYearMonth = gYearMonth == null ? new XMLTypeResourceImpl.DataFrame() : gYearMonth;↵

76

           gYearMonth = null;↵

100

           gYearMonth = null;↵

77

           resultGYearMonth.pushOnto(previous);↵

101

           resultGYearMonth.pushOnto(previous);↵

78

           resultGYearMonth.handleAttributes(attributes);↵

102

           resultGYearMonth.handleAttributes(attributes);↵

79

           return resultGYearMonth;↵

103

           return resultGYearMonth;↵

80

        }↵

104

        }

81

        /**↵

82

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

83

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

84

         * @generated↵

85

         */↵

86

        public XMLGregorianCalendar popGYearMonth(XMLTypeResourceImpl.DataFrame gYearMonth)↵

87

        {↵

88

          XMLGregorianCalendar resultGYearMonthValue = XMLTypeFactory.eINSTANCE.createGYearMonth(gYearMonth.popValue());↵

89

          this.gYearMonth = gYearMonth;↵

90

          return resultGYearMonthValue;↵

91

        }↵

92

        /**↵

93

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

94

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

95

         * @generated↵

96

         */↵

97

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

98

        {↵

99

           XMLTypeResourceImpl.DataFrame resultHexBinary = hexBinary == null ? new XMLTypeResourceImpl.DataFrame() : hexBinary;↵

100

           hexBinary = null;↵

101

           resultHexBinary.pushOnto(previous);↵

102

           resultHexBinary.handleAttributes(attributes);↵

103

           return resultHexBinary;↵

104

        }

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