2151-32-37

XMLTypeResourceImpl.DataFrame pushAnySimpleType(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultAnySimpleType = anySimpleType == null ? new XMLTypeResourceImpl.DataFrame() : anySimpleType; anySimpleType = null; resultAnySimpleType.pushOnto(previous); resultAnySimpleType.handleAttributes(attributes); return resultAnySimpleType; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object popAnySimpleType(XMLTypeResourceImpl.DataFrame anySimpleType) { Object resultAnySimpleTypeValue = XMLTypeFactory.eINSTANCE.createAnySimpleType(anySimpleType.popValue()); this.anySimpleType = anySimpleType; return resultAnySimpleTypeValue; }
XMLTypeResourceImpl.DataFrame pushToken(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : token; token = null; resultToken.pushOnto(previous); resultToken.handleAttributes(attributes); return resultToken; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popToken(XMLTypeResourceImpl.DataFrame token) { String resultTokenValue = XMLTypeFactory.eINSTANCE.createToken(token.popValue()); this.token = token; return resultTokenValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultAnySimpleType = anySimpleType == null ? new XMLTypeResourceImpl.DataFrame() : anySimpleType;↵

3

           XMLTypeResourceImpl.DataFrame resultToken = token == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           anySimpleType↵

4

    token;↵

5

     = null;↵

5

           token = null;↵

6

           resultAnySimpleType.pushOnto(previous);↵

6

           resultToken.pushOnto(previous);↵

7

           resultAnySimpleType.handleAttributes(attributes);↵

7

           resultToken.handleAttributes(attributes);↵

8

           return resultAnySimpleType;↵

8

           return resultToken;↵

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 Object popAnySimpleType(XMLTypeResourceImpl.DataFrame anySimpleType)↵

15

        public String popToken(XMLTypeResourceImpl.DataFrame token)↵

16

        {↵

16

        {↵

17

          Object resultAnySimpleTypeValue = XMLTypeFactory.eINSTANCE.createAnySimpleType(anySimpleType.popValue());↵

17

          String resultTokenValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.anySimpleType = anySimpleType↵

18

    Token(token.popValue());↵

19

    ;↵

19

          this.token = token;↵

20

          return resultAnySimpleTypeValue;↵

20

          return resultTokenValue;↵

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