2152-8-39

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

1

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

2

        {↵

2

        {↵

3

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

3

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

4

           gYear↵

4

    unsignedIntObject;↵

5

     = null;↵

5

           unsignedIntObject = null;↵

6

           resultGYear.pushOnto(previous);↵

6

           resultUnsignedIntObject.pushOnto(previous);↵

7

           resultGYear.handleAttributes(attributes);↵

7

           resultUnsignedIntObject.handleAttributes(attributes);↵

8

           return resultGYear;↵

8

           return resultUnsignedIntObject;↵

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 popGYear(XMLTypeResourceImpl.DataFrame gYear)↵

15

        public Long popUnsignedIntObject(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          XMLGregorianCalendar resultGYear↵

16

    unsignedIntObject)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createGYear(gYear.popValue());↵

18

          Long resultUnsignedIntObjectValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.gYear = gYear↵

19

    UnsignedIntObject(unsignedIntObject.popValue());↵

20

    ;↵

20

          this.unsignedIntObject = unsignedIntObject;↵

21

          return resultGYearValue;↵

21

          return resultUnsignedIntObjectValue;↵

22

        }↵

22

        }↵

23

        /**↵

23

        /**↵

24

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

24

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

25

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

25

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

26

         * @generated↵

26

         * @generated↵

27

         */↵

27

         */↵

28

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

28

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

29

        {↵

29

        {↵

30

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

30

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

31

           gYearMonth↵

31

    unsignedLong;↵

32

     = null;↵

32

           unsignedLong = null;↵

33

           resultGYearMonth.pushOnto(previous);↵

33

           resultUnsignedLong.pushOnto(previous);↵

34

           resultGYearMonth.handleAttributes(attributes);↵

34

           resultUnsignedLong.handleAttributes(attributes);↵

35

           return resultGYearMonth;↵

35

           return resultUnsignedLong;↵

36

        }

36

        }

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