2151-10-31

XMLTypeResourceImpl.DataFrame pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName; qName = null; resultQName.pushOnto(previous); resultQName.handleAttributes(attributes); return resultQName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popQName(XMLTypeResourceImpl.DataFrame qName) { QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue()); this.qName = qName; return resultQNameValue; }
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 pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName;↵

3

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

4

           qName = null;↵

4

           gMonth = null;↵

5

           resultQName.pushOnto(previous);↵

5

           resultGMonth.pushOnto(previous);↵

6

           resultQName.handleAttributes(attributes);↵

6

           resultGMonth.handleAttributes(attributes);↵

7

           return resultQName;↵

7

           return resultGMonth;↵

8

        }↵

8

        }↵

9

        /**↵

9

        /**↵

10

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

10

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

11

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

11

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

12

         * @generated↵

12

         * @generated↵

13

         */↵

13

         */↵

14

        public QName popQName(XMLTypeResourceImpl.DataFrame qName)↵

14

        public XMLGregorianCalendar popGMonth(XMLTypeResourceImpl.DataFrame gMonth)↵

15

        {↵

15

        {↵

16

          QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue());↵

16

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

17

          this.qName = qName;↵

17

          this.gMonth = gMonth;↵

18

          return resultQNameValue;↵

18

          return resultGMonthValue;↵

19

        }

19

        }

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