2151-18-35

XMLTypeResourceImpl.DataFrame pushNCName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNCName = ncName == null ? new XMLTypeResourceImpl.DataFrame() : ncName; ncName = null; resultNCName.pushOnto(previous); resultNCName.handleAttributes(attributes); return resultNCName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNCName(XMLTypeResourceImpl.DataFrame ncName) { String resultNCNameValue = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue()); this.ncName = ncName; return resultNCNameValue; }
XMLTypeResourceImpl.DataFrame pushENTITIESBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITIESBase = entitiesBase == null ? new XMLTypeResourceImpl.DataFrame() : entitiesBase; entitiesBase = null; resultENTITIESBase.pushOnto(previous); resultENTITIESBase.handleAttributes(attributes); return resultENTITIESBase; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase) { List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.createENTITIESBase(entitiesBase.popValue()); this.entitiesBase = entitiesBase; return resultENTITIESBaseValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNCName = ncName == null ? new XMLTypeResourceImpl.DataFrame() : ncName;↵

3

           XMLTypeResourceImpl.DataFrame resultENTITIESBase = entitiesBase == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           ncNam↵

4

    entitiesBase;↵

5

    e = null;↵

5

           entitiesBase = null;↵

6

           resultNCName.pushOnto(previous);↵

6

           resultENTITIESBase.pushOnto(previous);↵

7

           resultNCName.handleAttributes(attributes);↵

7

           resultENTITIESBase.handleAttributes(attributes);↵

8

           return resultNCName;↵

8

           return resultENTITIESBase;↵

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 String popNCName(XMLTypeResourceImpl.DataFrame ncName)↵

15

        public List<String> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase)↵

16

        {↵

16

        {↵

17

          String resultNCNameValue = XMLTypeFactory.eINSTANCE.createNCName(ncName.popValue());↵

17

          List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.createENTITIESBase(entitiesBase.popValue());↵

18

          this.ncName = ncName;↵

18

          this.entitiesBase = entitiesBase;↵

19

          return resultNCNameValue;↵

19

          return resultENTITIESBaseValue;↵

20

        }

20

        }

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