2152-14-26

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; }
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; }

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

1

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

2

        {↵

2

        {↵

3

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

3

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

4

           intObject↵

4

    gMonth;↵

5

     = null;↵

5

           gMonth = null;↵

6

           resultIntObject.pushOnto(previous);↵

6

           resultGMonth.pushOnto(previous);↵

7

           resultIntObject.handleAttributes(attributes);↵

7

           resultGMonth.handleAttributes(attributes);↵

8

           return resultIntObject;↵

8

           return resultGMonth;↵

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 Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject)↵

15

        public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth)↵

16

        {↵

16

        {↵

17

          Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue());↵

17

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

18

          this.intObject = intObject;↵

18

          this.gMonth = gMonth;↵

19

          return resultIntObjectValue;↵

19

          return resultGMonthValue;↵

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

26

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

27

        {↵

27

        {↵

28

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

28

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

29

           language↵

29

    gMonthDay;↵

30

     = null;↵

30

           gMonthDay = null;↵

31

           resultLanguage.pushOnto(previous);↵

31

           resultGMonthDay.pushOnto(previous);↵

32

           resultLanguage.handleAttributes(attributes);↵

32

           resultGMonthDay.handleAttributes(attributes);↵

33

           return resultLanguage;↵

33

           return resultGMonthDay;↵

34

        }

34

        }

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