2151-1-7

XMLTypeResourceImpl.DataFrame pushBooleanObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultBooleanObject = booleanObject == null ? new XMLTypeResourceImpl.DataFrame() : booleanObject; booleanObject = null; resultBooleanObject.pushOnto(previous); resultBooleanObject.handleAttributes(attributes); return resultBooleanObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Boolean popBooleanObject(XMLTypeResourceImpl.DataFrame booleanObject) { Boolean resultBooleanObjectValue = XMLTypeFactory.eINSTANCE.createBooleanObject(booleanObject.popValue()); this.booleanObject = booleanObject; return resultBooleanObjectValue; }
XMLTypeResourceImpl.DataFrame pushDateTime(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDateTime = dateTime == null ? new XMLTypeResourceImpl.DataFrame() : dateTime; dateTime = null; resultDateTime.pushOnto(previous); resultDateTime.handleAttributes(attributes); return resultDateTime; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popDateTime(XMLTypeResourceImpl.DataFrame dateTime) { XMLGregorianCalendar resultDateTimeValue = XMLTypeFactory.eINSTANCE.createDateTime(dateTime.popValue()); this.dateTime = dateTime; return resultDateTimeValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultBooleanObject = booleanObject == null ? new XMLTypeResourceImpl.DataFrame() : booleanObject;↵

3

           XMLTypeResourceImpl.DataFrame resultDateTime = dateTime == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           booleanObject↵

4

    dateTime;↵

5

     = null;↵

5

           dateTime = null;↵

6

           resultBooleanObject.pushOnto(previous);↵

6

           resultDateTime.pushOnto(previous);↵

7

           resultBooleanObject.handleAttributes(attributes);↵

7

           resultDateTime.handleAttributes(attributes);↵

8

           return resultBooleanObject;↵

8

           return resultDateTime;↵

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 Boolean popBooleanObject(XMLTypeResourceImpl.DataFrame booleanObject)↵

15

        public XMLGregorianCalendar popDateTime(XMLTypeResourceImpl.DataFrame dateTime)↵

16

        {↵

16

        {↵

17

          Boolean resultBooleanObjectValue = XMLTypeFactory.eINSTANCE.createBooleanObject(booleanObject.popValue());↵

17

          XMLGregorianCalendar resultDateTimeValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.booleanObject = booleanObject↵

18

    DateTime(dateTime.popValue());↵

19

    ;↵

19

          this.dateTime = dateTime;↵

20

          return resultBooleanObjectValue;↵

20

          return resultDateTimeValue;↵

21

        }

21

        }

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