2151-14-29

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; }
XMLTypeResourceImpl.DataFrame pushNOTATION(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation; notation = null; resultNOTATION.pushOnto(previous); resultNOTATION.handleAttributes(attributes); return resultNOTATION; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation) { QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue()); this.notation = notation; return resultNOTATIONValue; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation;↵

4

           gYear = null;↵

4

           notation = null;↵

5

           resultGYear.pushOnto(previous);↵

5

           resultNOTATION.pushOnto(previous);↵

6

           resultGYear.handleAttributes(attributes);↵

6

           resultNOTATION.handleAttributes(attributes);↵

7

           return resultGYear;↵

7

           return resultNOTATION;↵

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

14

        public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation)↵

15

        {↵

15

        {↵

16

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

16

          QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue());↵

17

          this.gYear = gYear;↵

17

          this.notation = notation;↵

18

          return resultGYearValue;↵

18

          return resultNOTATIONValue;↵

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