2151-5-24

XMLTypeResourceImpl.DataFrame pushIDREFSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase; idrefsBase = null; resultIDREFSBase.pushOnto(previous); resultIDREFSBase.handleAttributes(attributes); return resultIDREFSBase; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase) { List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue()); this.idrefsBase = idrefsBase; return resultIDREFSBaseValue; }
XMLTypeResourceImpl.DataFrame pushAnyURI(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultAnyURI = anyURI == null ? new XMLTypeResourceImpl.DataFrame() : anyURI; anyURI = null; resultAnyURI.pushOnto(previous); resultAnyURI.handleAttributes(attributes); return resultAnyURI; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popAnyURI(XMLTypeResourceImpl.DataFrame anyURI) { String resultAnyURIValue = XMLTypeFactory.eINSTANCE.createAnyURI(anyURI.popValue()); this.anyURI = anyURI; return resultAnyURIValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase;↵

3

           XMLTypeResourceImpl.DataFrame resultAnyURI = anyURI == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           idrefsBase↵

4

    anyURI;↵

5

     = null;↵

5

           anyURI = null;↵

6

           resultIDREFSBase.pushOnto(previous);↵

6

           resultAnyURI.pushOnto(previous);↵

7

           resultIDREFSBase.handleAttributes(attributes);↵

7

           resultAnyURI.handleAttributes(attributes);↵

8

           return resultIDREFSBase;↵

8

           return resultAnyURI;↵

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 List<String> popIDREFSBase(XMLTypeResourceImpl.DataFrame idrefsBase)↵

15

        public String popAnyURI(XMLTypeResourceImpl.DataFrame anyURI)↵

16

        {↵

16

        {↵

17

          List<String> resultIDREFSBaseValue = XMLTypeFactory.eINSTANCE.createIDREFSBase(idrefsBase.popValue());↵

17

          String resultAnyURIValue = XMLTypeFactory.eINSTANCE.createAnyURI(anyURI.popValue());↵

18

          this.idrefsBase = idrefsBase;↵

18

          this.anyURI = anyURI;↵

19

          return resultIDREFSBaseValue;↵

19

          return resultAnyURIValue;↵

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