2151-13-14

XMLTypeResourceImpl.DataFrame pushNonNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonNegativeInteger; nonNegativeInteger = null; resultNonNegativeInteger.pushOnto(previous); resultNonNegativeInteger.handleAttributes(attributes); return resultNonNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger) { BigInteger resultNonNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNonNegativeInteger(nonNegativeInteger.popValue()); this.nonNegativeInteger = nonNegativeInteger; return resultNonNegativeIntegerValue; }
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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonNegativeInteger;↵

3

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

4

           nonNegativeIntege↵

4

    gYear;↵

5

    r = null;↵

5

           gYear = null;↵

6

           resultNonNegativeInteger.pushOnto(previous);↵

6

           resultGYear.pushOnto(previous);↵

7

           resultNonNegativeInteger.handleAttributes(attributes);↵

7

           resultGYear.handleAttributes(attributes);↵

8

           return resultNonNegativeInteger;↵

8

           return resultGYear;↵

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 BigInteger popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger)↵

15

        public XMLGregorianCalendar popGYear(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          BigInteger resultNonNegativeIntege↵

16

    gYear)↵

17

        {↵

18

    rValue = XMLTypeFactory.eINSTANCE.createNonNegativeInteger(nonNegativeInteger.popValue());↵

18

          XMLGregorianCalendar resultGYearValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.nonNegativeInteger = nonNegativeIntege↵

19

    GYear(gYear.popValue());↵

20

    r;↵

20

          this.gYear = gYear;↵

21

          return resultNonNegativeIntegerValue;↵

21

          return resultGYearValue;↵

22

        }

22

        }

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