2160-1-3

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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushBase64Binary(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultBase64Binary = base64Binary == null ? new XMLTypeResourceImpl.DataFrame() : base64Binary; base64Binary = null; resultBase64Binary.pushOnto(previous); resultBase64Binary.handleAttributes(attributes); return resultBase64Binary; }
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; } /** * <!-- 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }

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

2

        {↵

2

        {↵

3

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

3

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

4

           anySimpleType↵

4

    longObject;↵

5

     = null;↵

5

           longObject = null;↵

6

           resultAnySimpleType.pushOnto(previous);↵

6

           resultLongObject.pushOnto(previous);↵

7

           resultAnySimpleType.handleAttributes(attributes);↵

7

           resultLongObject.handleAttributes(attributes);↵

8

           return resultAnySimpleType;↵

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

15

        public Long popLongObject(XMLTypeResourceImpl.DataFrame longObject)↵

16

        {↵

16

        {↵

17

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

17

          Long resultLongObjectValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.anySimpleType = anySimpleType↵

18

    LongObject(longObject.popValue());↵

19

    ;↵

19

          this.longObject = longObject;↵

20

          return resultAnySimpleTypeValue;↵

20

          return resultLongObjectValue;↵

21

        }↵

21

        }↵

22

        /**↵

22

        /**↵

23

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

23

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

24

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

24

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

25

         * @generated↵

25

         * @generated↵

26

         */↵

26

         */↵

27

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

27

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

28

        {↵

28

        {↵

29

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

29

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

30

           anyURI = null;↵

30

           name = null;↵

31

           resultAnyURI.pushOnto(previous);↵

31

           resultName.pushOnto(previous);↵

32

           resultAnyURI.handleAttributes(attributes);↵

32

           resultName.handleAttributes(attributes);↵

33

           return resultAnyURI;↵

33

           return resultName;↵

34

        }↵

34

        }↵

35

        /**↵

35

        /**↵

36

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

36

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

37

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

37

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

38

         * @generated↵

38

         * @generated↵

39

         */↵

39

         */↵

40

        public String popAnyURI(XMLTypeResourceImpl.DataFrame anyURI)↵

40

        public String popName(XMLTypeResourceImpl.DataFrame name)↵

41

        {↵

41

        {↵

42

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

42

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

43

          this.anyURI = anyURI;↵

43

          this.name = name;↵

44

          return resultAnyURIValue;↵

44

          return resultNameValue;↵

45

        }↵

45

        }↵

46

        /**↵

46

        /**↵

47

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

47

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

48

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

48

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

49

         * @generated↵

49

         * @generated↵

50

         */↵

50

         */↵

51

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

51

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

52

        {↵

52

        {↵

53

           XMLTypeResourceImpl.DataFrame resultBase64Binary = base64Binary == null ? new XMLTypeResourceImpl.DataFrame() : base64Binary;↵

53

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

54

           base64Binary↵

54

    ncName;↵

55

     = null;↵

55

           ncName = null;↵

56

           resultBase64Binary.pushOnto(previous);↵

56

           resultNCName.pushOnto(previous);↵

57

           resultBase64Binary.handleAttributes(attributes);↵

57

           resultNCName.handleAttributes(attributes);↵

58

           return resultBase64Binary;↵

58

           return resultNCName;↵

59

        }

59

        }

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