2151-26-31

XMLTypeResourceImpl.DataFrame pushByteObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultByteObject = byteObject == null ? new XMLTypeResourceImpl.DataFrame() : byteObject; byteObject = null; resultByteObject.pushOnto(previous); resultByteObject.handleAttributes(attributes); return resultByteObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Byte popByteObject(XMLTypeResourceImpl.DataFrame byteObject) { Byte resultByteObjectValue = XMLTypeFactory.eINSTANCE.createByteObject(byteObject.popValue()); this.byteObject = byteObject; return resultByteObjectValue; }
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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultByteObject = byteObject == null ? new XMLTypeResourceImpl.DataFrame() : byteObject;↵

3

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

4

           byteObject↵

4

    gMonth;↵

5

     = null;↵

5

           gMonth = null;↵

6

           resultByteObject.pushOnto(previous);↵

6

           resultGMonth.pushOnto(previous);↵

7

           resultByteObject.handleAttributes(attributes);↵

7

           resultGMonth.handleAttributes(attributes);↵

8

           return resultByteObject;↵

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 Byte popByteObject(XMLTypeResourceImpl.DataFrame byteObject)↵

15

        public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth)↵

16

        {↵

16

        {↵

17

          Byte resultByteObjectValue = XMLTypeFactory.eINSTANCE.createByteObject(byteObject.popValue());↵

17

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

18

          this.byteObject = byteObject;↵

18

          this.gMonth = gMonth;↵

19

          return resultByteObjectValue;↵

19

          return resultGMonthValue;↵

20

        }

20

        }

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