2152-19-31

XMLTypeResourceImpl.DataFrame pushIDREF(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : idref; idref = null; resultIDREF.pushOnto(previous); resultIDREF.handleAttributes(attributes); return resultIDREF; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popIDREF(XMLTypeResourceImpl.DataFrame idref) { String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue()); this.idref = idref; return resultIDREFValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs; idrefs = null; resultIDREFS.pushOnto(previous); resultIDREFS.handleAttributes(attributes); return resultIDREFS; }
XMLTypeResourceImpl.DataFrame pushLongObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : longObject; longObject = null; resultLongObject.pushOnto(previous); resultLongObject.handleAttributes(attributes); return resultLongObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject) { Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue()); this.longObject = longObject; return resultLongObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : idref;↵

3

           XMLTypeResourceImpl.DataFrame resultLongObject = longObject == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           idref↵

4

    longObject;↵

5

     = null;↵

5

           longObject = null;↵

6

           resultIDREF.pushOnto(previous);↵

6

           resultLongObject.pushOnto(previous);↵

7

           resultIDREF.handleAttributes(attributes);↵

7

           resultLongObject.handleAttributes(attributes);↵

8

           return resultIDREF;↵

8

           return resultLongObject;↵

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 popIDREF(XMLTypeResourceImpl.DataFrame idref)↵

15

        public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject)↵

16

        {↵

16

        {↵

17

          String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue());↵

17

          Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.createLongObject(longObject.popValue());↵

18

          this.idref = idref;↵

18

          this.longObject = longObject;↵

19

          return resultIDREFValue;↵

19

          return resultLongObjectValue;↵

20

        }↵

20

        }↵

21

        /**↵

21

        /**↵

22

         * <!-- begin-user-doc -->↵

22

         * <!-- begin-user-doc -->↵

23

         * <!-- end-user-doc -->↵

23

         * <!-- end-user-doc -->↵

24

         * @generated↵

24

         * @generated↵

25

         */↵

25

         */↵

26

        public XMLTypeResourceImpl.DataFrame pushIDREFS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

26

        public XMLTypeResourceImpl.DataFrame pushName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs;↵

28

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

29

           idrefs = null;↵

29

           name = null;↵

30

           resultIDREFS.pushOnto(previous);↵

30

           resultName.pushOnto(previous);↵

31

           resultIDREFS.handleAttributes(attributes);↵

31

           resultName.handleAttributes(attributes);↵

32

           return resultIDREFS;↵

32

           return resultName;↵

33

        }

33

        }

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