2151-27-28

XMLTypeResourceImpl.DataFrame pushName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : name; name = null; resultName.pushOnto(previous); resultName.handleAttributes(attributes); return resultName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popName(XMLTypeResourceImpl.DataFrame name) { String resultNameValue = XMLTypeFactory.eINSTANCE.createName(name.popValue()); this.name = name; return resultNameValue; }
XMLTypeResourceImpl.DataFrame pushENTITY(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITY = entity == null ? new XMLTypeResourceImpl.DataFrame() : entity; entity = null; resultENTITY.pushOnto(previous); resultENTITY.handleAttributes(attributes); return resultENTITY; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popENTITY(XMLTypeResourceImpl.DataFrame entity) { String resultENTITYValue = XMLTypeFactory.eINSTANCE.createENTITY(entity.popValue()); this.entity = entity; return resultENTITYValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultName = name == null ? new XMLTypeResourceImpl.DataFrame() : name;↵

3

           XMLTypeResourceImpl.DataFrame resultENTITY = entity == null ? new XMLTypeResourceImpl.DataFrame() : entity;↵

4

           name = null;↵

4

           entity = null;↵

5

           resultName.pushOnto(previous);↵

5

           resultENTITY.pushOnto(previous);↵

6

           resultName.handleAttributes(attributes);↵

6

           resultENTITY.handleAttributes(attributes);↵

7

           return resultName;↵

7

           return resultENTITY;↵

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 String popName(XMLTypeResourceImpl.DataFrame name)↵

14

        public String popENTITY(XMLTypeResourceImpl.DataFrame entity)↵

15

        {↵

15

        {↵

16

          String resultNameValue = XMLTypeFactory.eINSTANCE.createName(name.popValue());↵

16

          String resultENTITYValue = XMLTypeFactory.eINSTANCE.createENTITY(entity.popValue());↵

17

          this.name = name;↵

17

          this.entity = entity;↵

18

          return resultNameValue;↵

18

          return resultENTITYValue;↵

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