2160-2-21

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 pushInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultInteger = integer == null ? new XMLTypeResourceImpl.DataFrame() : integer; integer = null; resultInteger.pushOnto(previous); resultInteger.handleAttributes(attributes); return resultInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer) { BigInteger resultIntegerValue = XMLTypeFactory.eINSTANCE.createInteger(integer.popValue()); this.integer = integer; return resultIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIntObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject; intObject = null; resultIntObject.pushOnto(previous); resultIntObject.handleAttributes(attributes); return resultIntObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject) { Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue()); this.intObject = intObject; return resultIntObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushLanguage(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : language; language = null; resultLanguage.pushOnto(previous); resultLanguage.handleAttributes(attributes); return resultLanguage; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultInteger = integer == null ? new XMLTypeResourceImpl.DataFrame() : integer;↵

4

           duration = null;↵

4

           integer = null;↵

5

           resultDuration.pushOnto(previous);↵

5

           resultInteger.pushOnto(previous);↵

6

           resultDuration.handleAttributes(attributes);↵

6

           resultInteger.handleAttributes(attributes);↵

7

           return resultDuration;↵

7

           return resultInteger;↵

8

        }↵

8

        }↵

9

        /**↵

9

        /**↵

10

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

10

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

11

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

11

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

12

         * @generated↵

12

         * @generated↵

13

         */↵

13

         */↵

14

        public Duration popDuration(XMLTypeResourceImpl.DataFrame duration)↵

14

        public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer)↵

15

        {↵

15

        {↵

16

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

16

          BigInteger resultIntegerValue = XMLTypeFactory.eINSTANCE.createInteger(integer.popValue());↵

17

          this.duration = duration;↵

17

          this.integer = integer;↵

18

          return resultDurationValue;↵

18

          return resultIntegerValue;↵

19

        }↵

19

        }↵

20

        /**↵

20

        /**↵

21

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

21

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

22

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

22

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

23

         * @generated↵

23

         * @generated↵

24

         */↵

24

         */↵

25

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

25

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

26

        {↵

26

        {↵

27

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

27

           XMLTypeResourceImpl.DataFrame resultIntObject = intObject == null ? new XMLTypeResourceImpl.DataFrame() : intObject;↵

28

           entities = null;↵

28

           intObject = null;↵

29

           resultENTITIES.pushOnto(previous);↵

29

           resultIntObject.pushOnto(previous);↵

30

           resultENTITIES.handleAttributes(attributes);↵

30

           resultIntObject.handleAttributes(attributes);↵

31

           return resultENTITIES;↵

31

           return resultIntObject;↵

32

        }↵

32

        }↵

33

        /**↵

33

        /**↵

34

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

34

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

35

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

35

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

36

         * @generated↵

36

         * @generated↵

37

         */↵

37

         */↵

38

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

38

        public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject)↵

39

        {↵

39

        {↵

40

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

40

          Integer resultIntObjectValue = XMLTypeFactory.eINSTANCE.createIntObject(intObject.popValue());↵

41

          this.entities = entities;↵

41

          this.intObject = intObject;↵

42

          return resultENTITIESValue;↵

42

          return resultIntObjectValue;↵

43

        }↵

43

        }↵

44

        /**↵

44

        /**↵

45

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

45

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

46

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

46

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

47

         * @generated↵

47

         * @generated↵

48

         */↵

48

         */↵

49

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

49

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

50

        {↵

50

        {↵

51

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

51

           XMLTypeResourceImpl.DataFrame resultLanguage = language == null ? new XMLTypeResourceImpl.DataFrame() : ↵

52

           entitiesBas↵

52

    language;↵

53

    e = null;↵

53

           language = null;↵

54

           resultENTITIESBase.pushOnto(previous);↵

54

           resultLanguage.pushOnto(previous);↵

55

           resultENTITIESBase.handleAttributes(attributes);↵

55

           resultLanguage.handleAttributes(attributes);↵

56

           return resultENTITIESBase;↵

56

           return resultLanguage;↵

57

        }

57

        }

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