2165-3-4

XMLTypeResourceImpl.DataFrame pushDoubleObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDoubleObject = doubleObject == null ? new XMLTypeResourceImpl.DataFrame() : doubleObject; doubleObject = null; resultDoubleObject.pushOnto(previous); resultDoubleObject.handleAttributes(attributes); return resultDoubleObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Double popDoubleObject(XMLTypeResourceImpl.DataFrame doubleObject) { Double resultDoubleObjectValue = XMLTypeFactory.eINSTANCE.createDoubleObject(doubleObject.popValue()); this.doubleObject = doubleObject; return resultDoubleObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushDuration(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : duration; duration = null; resultDuration.pushOnto(previous); resultDuration.handleAttributes(attributes); return resultDuration; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Duration popDuration(XMLTypeResourceImpl.DataFrame duration) { Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue()); this.duration = duration; return resultDurationValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushENTITIES(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITIES = entities == null ? new XMLTypeResourceImpl.DataFrame() : entities; entities = null; resultENTITIES.pushOnto(previous); resultENTITIES.handleAttributes(attributes); return resultENTITIES; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popENTITIES(XMLTypeResourceImpl.DataFrame entities) { List<String> resultENTITIESValue = XMLTypeFactory.eINSTANCE.createENTITIES(entities.popValue()); this.entities = entities; return resultENTITIESValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }
XMLTypeResourceImpl.DataFrame pushNonPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonPositiveInteger = nonPositiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonPositiveInteger; nonPositiveInteger = null; resultNonPositiveInteger.pushOnto(previous); resultNonPositiveInteger.handleAttributes(attributes); return resultNonPositiveInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame nonPositiveInteger) { BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue()); this.nonPositiveInteger = nonPositiveInteger; return resultNonPositiveIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNormalizedString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : normalizedString; normalizedString = null; resultNormalizedString.pushOnto(previous); resultNormalizedString.handleAttributes(attributes); return resultNormalizedString; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString) { String resultNormalizedStringValue = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue()); this.normalizedString = normalizedString; return resultNormalizedStringValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNOTATION(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation; notation = null; resultNOTATION.pushOnto(previous); resultNOTATION.handleAttributes(attributes); return resultNOTATION; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation) { QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue()); this.notation = notation; return resultNOTATIONValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : positiveInteger; positiveInteger = null; resultPositiveInteger.pushOnto(previous); resultPositiveInteger.handleAttributes(attributes); return resultPositiveInteger; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultDoubleObject = doubleObject == null ? new XMLTypeResourceImpl.DataFrame() : doubleObject;↵

3

           XMLTypeResourceImpl.DataFrame resultNonPositiveInteger = nonPositiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           doubleObject↵

4

    nonPositiveInteger;↵

5

     = null;↵

5

           nonPositiveInteger = null;↵

6

           resultDoubleObject.pushOnto(previous);↵

6

           resultNonPositiveInteger.pushOnto(previous);↵

7

           resultDoubleObject.handleAttributes(attributes);↵

7

           resultNonPositiveInteger.handleAttributes(attributes);↵

8

           return resultDoubleObject;↵

8

           return resultNonPositiveInteger;↵

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 Double popDoubleObject(XMLTypeResourceImpl.DataFrame doubleObject)↵

15

        public BigInteger popNonPositiveInteger(XMLTypeResourceImpl.DataFrame nonPositiveInteger)↵

16

        {↵

16

        {↵

17

          Double resultDoubleObjectValue = XMLTypeFactory.eINSTANCE.createDoubleObject(doubleObject.popValue());↵

17

          BigInteger resultNonPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createNonPositiveInteger(nonPositiveInteger.popValue());↵

18

          this.doubleObject = doubleObject;↵

18

          this.nonPositiveInteger = nonPositiveInteger;↵

19

          return resultDoubleObjectValue;↵

19

          return resultNonPositiveIntegerValue;↵

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

26

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

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : duration;↵

28

           XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : ↵

29

           duration↵

29

    normalizedString;↵

30

     = null;↵

30

           normalizedString = null;↵

31

           resultDuration.pushOnto(previous);↵

31

           resultNormalizedString.pushOnto(previous);↵

32

           resultDuration.handleAttributes(attributes);↵

32

           resultNormalizedString.handleAttributes(attributes);↵

33

           return resultDuration;↵

33

           return resultNormalizedString;↵

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 Duration popDuration(XMLTypeResourceImpl.DataFrame duration)↵

40

        public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString)↵

41

        {↵

41

        {↵

42

          Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue());↵

42

          String resultNormalizedStringValue = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue());↵

43

          this.duration = duration;↵

43

          this.normalizedString = normalizedString;↵

44

          return resultDurationValue;↵

44

          return resultNormalizedStringValue;↵

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

51

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

52

        {↵

52

        {↵

53

           XMLTypeResourceImpl.DataFrame resultENTITIES = entities == null ? new XMLTypeResourceImpl.DataFrame() : entities;↵

53

           XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation;↵

54

           entities = null;↵

54

           notation = null;↵

55

           resultENTITIES.pushOnto(previous);↵

55

           resultNOTATION.pushOnto(previous);↵

56

           resultENTITIES.handleAttributes(attributes);↵

56

           resultNOTATION.handleAttributes(attributes);↵

57

           return resultENTITIES;↵

57

           return resultNOTATION;↵

58

        }↵

58

        }↵

59

        /**↵

59

        /**↵

60

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

60

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

61

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

61

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

62

         * @generated↵

62

         * @generated↵

63

         */↵

63

         */↵

64

        public List<String> popENTITIES(XMLTypeResourceImpl.DataFrame entities)↵

64

        public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation)↵

65

        {↵

65

        {↵

66

          List<String> resultENTITIESValue = XMLTypeFactory.eINSTANCE.createENTITIES(entities.popValue());↵

66

          QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue());↵

67

          this.entities = entities;↵

67

          this.notation = notation;↵

68

          return resultENTITIESValue;↵

68

          return resultNOTATIONValue;↵

69

        }↵

69

        }↵

70

        /**↵

70

        /**↵

71

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

71

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

72

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

72

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

73

         * @generated↵

73

         * @generated↵

74

         */↵

74

         */↵

75

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

75

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

76

        {↵

76

        {↵

77

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

77

           XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

78

           entitiesBase↵

78

    positiveInteger;↵

79

     = null;↵

79

           positiveInteger = null;↵

80

           resultENTITIESBase.pushOnto(previous);↵

80

           resultPositiveInteger.pushOnto(previous);↵

81

           resultENTITIESBase.handleAttributes(attributes);↵

81

           resultPositiveInteger.handleAttributes(attributes);↵

82

           return resultENTITIESBase;↵

82

           return resultPositiveInteger;↵

83

        }

83

        }

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