2153-1-7

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; }
XMLTypeResourceImpl.DataFrame pushName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : name; name = null; resultName.pushOnto(previous); resultName.handleAttributes(attributes); return resultName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popName(XMLTypeResourceImpl.DataFrame name) { String resultNameValue = XMLTypeFactory.eINSTANCE.createName(name.popValue()); this.name = name; return resultNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNCName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNCName = ncName == null ? new XMLTypeResourceImpl.DataFrame() : ncName; ncName = null; resultNCName.pushOnto(previous); resultNCName.handleAttributes(attributes); return resultNCName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNCName(XMLTypeResourceImpl.DataFrame ncName) { String resultNCNameValue = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue()); this.ncName = ncName; return resultNCNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger; negativeInteger = null; resultNegativeInteger.pushOnto(previous); resultNegativeInteger.handleAttributes(attributes); return resultNegativeInteger; }

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

1

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           gMonthDay↵

4

    name;↵

5

     = null;↵

5

           name = null;↵

6

           resultGMonthDay.pushOnto(previous);↵

6

           resultName.pushOnto(previous);↵

7

           resultGMonthDay.handleAttributes(attributes);↵

7

           resultName.handleAttributes(attributes);↵

8

           return resultGMonthDay;↵

8

           return resultName;↵

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 XMLGregorianCalendar popGMonthDay(XMLTypeResourceImpl.DataFrame gMonthDay)↵

15

        public String popName(XMLTypeResourceImpl.DataFrame name)↵

16

        {↵

16

        {↵

17

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

17

          String resultNameValue = XMLTypeFactory.eINSTANCE.createName(name.popValue());↵

18

          this.gMonthDay = gMonthDay;↵

18

          this.name = name;↵

19

          return resultGMonthDayValue;↵

19

          return resultNameValue;↵

20

        }↵

20

        }↵

21

        /**↵

21

        /**↵

22

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

22

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

23

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

23

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

24

         * @generated↵

24

         * @generated↵

25

         */↵

25

         */↵

26

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

26

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

27

        {↵

27

        {↵

28

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

28

           XMLTypeResourceImpl.DataFrame resultNCName = ncName == null ? new XMLTypeResourceImpl.DataFrame() : ncName;↵

29

           gYear = null;↵

29

           ncName = null;↵

30

           resultGYear.pushOnto(previous);↵

30

           resultNCName.pushOnto(previous);↵

31

           resultGYear.handleAttributes(attributes);↵

31

           resultNCName.handleAttributes(attributes);↵

32

           return resultGYear;↵

32

           return resultNCName;↵

33

        }↵

33

        }↵

34

        /**↵

34

        /**↵

35

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

35

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

36

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

36

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

37

         * @generated↵

37

         * @generated↵

38

         */↵

38

         */↵

39

        public XMLGregorianCalendar popGYear(XMLTypeResourceImpl.DataFrame gYear)↵

39

        public String popNCName(XMLTypeResourceImpl.DataFrame ncName)↵

40

        {↵

40

        {↵

41

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

41

          String resultNCNameValue = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue());↵

42

          this.gYear = gYear;↵

42

          this.ncName = ncName;↵

43

          return resultGYearValue;↵

43

          return resultNCNameValue;↵

44

        }↵

44

        }↵

45

        /**↵

45

        /**↵

46

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

46

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

47

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

47

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

48

         * @generated↵

48

         * @generated↵

49

         */↵

49

         */↵

50

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

50

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

51

        {↵

51

        {↵

52

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

52

           XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

53

           gYearMonth↵

53

    negativeInteger;↵

54

     = null;↵

54

           negativeInteger = null;↵

55

           resultGYearMonth.pushOnto(previous);↵

55

           resultNegativeInteger.pushOnto(previous);↵

56

           resultGYearMonth.handleAttributes(attributes);↵

56

           resultNegativeInteger.handleAttributes(attributes);↵

57

           return resultGYearMonth;↵

57

           return resultNegativeInteger;↵

58

        }

58

        }

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