2160-2-7

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 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popPositiveInteger(XMLTypeResourceImpl.DataFrame positiveInteger) { BigInteger resultPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createPositiveInteger(positiveInteger.popValue()); this.positiveInteger = positiveInteger; return resultPositiveIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName; qName = null; resultQName.pushOnto(previous); resultQName.handleAttributes(attributes); return resultQName; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popQName(XMLTypeResourceImpl.DataFrame qName) { QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue()); this.qName = qName; return resultQNameValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushShort(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultShort = short_ == null ? new XMLTypeResourceImpl.DataFrame() : short_; short_ = null; resultShort.pushOnto(previous); resultShort.handleAttributes(attributes); return resultShort; }

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

1

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

2

        {↵

2

        {↵

3

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

3

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

4

           duration↵

4

    positiveInteger;↵

5

     = null;↵

5

           positiveInteger = null;↵

6

           resultDuration.pushOnto(previous);↵

6

           resultPositiveInteger.pushOnto(previous);↵

7

           resultDuration.handleAttributes(attributes);↵

7

           resultPositiveInteger.handleAttributes(attributes);↵

8

           return resultDuration;↵

8

           return resultPositiveInteger;↵

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

15

        public BigInteger popPositiveInteger(XMLTypeResourceImpl.DataFrame positiveInteger)↵

16

        {↵

16

        {↵

17

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

17

          BigInteger resultPositiveIntegerValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.duration = duration↵

18

    PositiveInteger(positiveInteger.popValue());↵

19

    ;↵

19

          this.positiveInteger = positiveInteger;↵

20

          return resultDurationValue;↵

20

          return resultPositiveIntegerValue;↵

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

27

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

28

        {↵

28

        {↵

29

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

29

           XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName;↵

30

           entities = null;↵

30

           qName = null;↵

31

           resultENTITIES.pushOnto(previous);↵

31

           resultQName.pushOnto(previous);↵

32

           resultENTITIES.handleAttributes(attributes);↵

32

           resultQName.handleAttributes(attributes);↵

33

           return resultENTITIES;↵

33

           return resultQName;↵

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

40

        public QName popQName(XMLTypeResourceImpl.DataFrame qName)↵

41

        {↵

41

        {↵

42

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

42

          QName resultQNameValue = XMLTypeFactory.eINSTANCE.createQName(qName.popValue());↵

43

          this.entities = entities;↵

43

          this.qName = qName;↵

44

          return resultENTITIESValue;↵

44

          return resultQNameValue;↵

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

51

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

52

        {↵

52

        {↵

53

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

53

           XMLTypeResourceImpl.DataFrame resultShort = short_ == null ? new XMLTypeResourceImpl.DataFrame() : ↵

54

           entitiesBase↵

54

    short_;↵

55

     = null;↵

55

           short_ = null;↵

56

           resultENTITIESBase.pushOnto(previous);↵

56

           resultShort.pushOnto(previous);↵

57

           resultENTITIESBase.handleAttributes(attributes);↵

57

           resultShort.handleAttributes(attributes);↵

58

           return resultENTITIESBase;↵

58

           return resultShort;↵

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