2160-20-21

XMLTypeResourceImpl.DataFrame pushFloatObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject; floatObject = null; resultFloatObject.pushOnto(previous); resultFloatObject.handleAttributes(attributes); return resultFloatObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject) { Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue()); this.floatObject = floatObject; return resultFloatObjectValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGDay(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGDay = gDay == null ? new XMLTypeResourceImpl.DataFrame() : gDay; gDay = null; resultGDay.pushOnto(previous); resultGDay.handleAttributes(attributes); return resultGDay; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay) { XMLGregorianCalendar resultGDayValue = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue()); this.gDay = gDay; return resultGDayValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushGMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth; gMonth = null; resultGMonth.pushOnto(previous); resultGMonth.handleAttributes(attributes); return resultGMonth; }
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 pushFloatObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject;↵

3

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

4

           floatObject↵

4

    integer;↵

5

     = null;↵

5

           integer = null;↵

6

           resultFloatObject.pushOnto(previous);↵

6

           resultInteger.pushOnto(previous);↵

7

           resultFloatObject.handleAttributes(attributes);↵

7

           resultInteger.handleAttributes(attributes);↵

8

           return resultFloatObject;↵

8

           return resultInteger;↵

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 Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject)↵

15

        public BigInteger popInteger(XMLTypeResourceImpl.DataFrame integer)↵

16

        {↵

16

        {↵

17

          Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue());↵

17

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

18

          this.floatObject = floatObject;↵

18

          this.integer = integer;↵

19

          return resultFloatObjectValue;↵

19

          return resultIntegerValue;↵

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

26

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

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultGDay = gDay == null ? new XMLTypeResourceImpl.DataFrame() : gDay;↵

28

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

29

           gDay↵

29

    intObject;↵

30

     = null;↵

30

           intObject = null;↵

31

           resultGDay.pushOnto(previous);↵

31

           resultIntObject.pushOnto(previous);↵

32

           resultGDay.handleAttributes(attributes);↵

32

           resultIntObject.handleAttributes(attributes);↵

33

           return resultGDay;↵

33

           return resultIntObject;↵

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 XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay)↵

40

        public Integer popIntObject(XMLTypeResourceImpl.DataFrame intObject)↵

41

        {↵

41

        {↵

42

          XMLGregorianCalendar resultGDayValue = XMLTypeFactory.eINSTANCE.createGDay(gDay.popValue());↵

42

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

43

          this.gDay = gDay;↵

43

          this.intObject = intObject;↵

44

          return resultGDayValue;↵

44

          return resultIntObjectValue;↵

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

51

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

52

        {↵

52

        {↵

53

           XMLTypeResourceImpl.DataFrame resultGMonth = gMonth == null ? new XMLTypeResourceImpl.DataFrame() : gMonth;↵

53

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

54

           gMonth = null;↵

54

           language = null;↵

55

           resultGMonth.pushOnto(previous);↵

55

           resultLanguage.pushOnto(previous);↵

56

           resultGMonth.handleAttributes(attributes);↵

56

           resultLanguage.handleAttributes(attributes);↵

57

           return resultGMonth;↵

57

           return resultLanguage;↵

58

        }

58

        }

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