2160-8-20

XMLTypeResourceImpl.DataFrame pushNMTOKEN(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKEN = nmtoken == null ? new XMLTypeResourceImpl.DataFrame() : nmtoken; nmtoken = null; resultNMTOKEN.pushOnto(previous); resultNMTOKEN.handleAttributes(attributes); return resultNMTOKEN; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNMTOKEN(XMLTypeResourceImpl.DataFrame nmtoken) { String resultNMTOKENValue = XMLTypeFactory.eINSTANCE.createNMTOKEN(nmtoken.popValue()); this.nmtoken = nmtoken; return resultNMTOKENValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKENS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKENS = nmtokens == null ? new XMLTypeResourceImpl.DataFrame() : nmtokens; nmtokens = null; resultNMTOKENS.pushOnto(previous); resultNMTOKENS.handleAttributes(attributes); return resultNMTOKENS; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popNMTOKENS(XMLTypeResourceImpl.DataFrame nmtokens) { List<String> resultNMTOKENSValue = XMLTypeFactory.eINSTANCE.createNMTOKENS(nmtokens.popValue()); this.nmtokens = nmtokens; return resultNMTOKENSValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNMTOKENSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNMTOKENSBase = nmtokensBase == null ? new XMLTypeResourceImpl.DataFrame() : nmtokensBase; nmtokensBase = null; resultNMTOKENSBase.pushOnto(previous); resultNMTOKENSBase.handleAttributes(attributes); return resultNMTOKENSBase; }
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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNMTOKEN = nmtoken == null ? new XMLTypeResourceImpl.DataFrame() : nmtoken;↵

3

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

4

           nmtoken↵

4

    floatObject;↵

5

     = null;↵

5

           floatObject = null;↵

6

           resultNMTOKEN.pushOnto(previous);↵

6

           resultFloatObject.pushOnto(previous);↵

7

           resultNMTOKEN.handleAttributes(attributes);↵

7

           resultFloatObject.handleAttributes(attributes);↵

8

           return resultNMTOKEN;↵

8

           return resultFloatObject;↵

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 String popNMTOKEN(XMLTypeResourceImpl.DataFrame nmtoken)↵

15

        public Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject)↵

16

        {↵

16

        {↵

17

          String resultNMTOKENValue = XMLTypeFactory.eINSTANCE.createNMTOKEN(nmtoken.popValue());↵

17

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

18

          this.nmtoken = nmtoken;↵

18

          this.floatObject = floatObject;↵

19

          return resultNMTOKENValue;↵

19

          return resultFloatObjectValue;↵

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

26

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

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultNMTOKENS = nmtokens == null ? new XMLTypeResourceImpl.DataFrame() : nmtokens;↵

28

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

29

           nmtokens = null;↵

29

           gDay = null;↵

30

           resultNMTOKENS.pushOnto(previous);↵

30

           resultGDay.pushOnto(previous);↵

31

           resultNMTOKENS.handleAttributes(attributes);↵

31

           resultGDay.handleAttributes(attributes);↵

32

           return resultNMTOKENS;↵

32

           return resultGDay;↵

33

        }↵

33

        }↵

34

        /**↵

34

        /**↵

35

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

35

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

36

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

36

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

37

         * @generated↵

37

         * @generated↵

38

         */↵

38

         */↵

39

        public List<String> popNMTOKENS(XMLTypeResourceImpl.DataFrame nmtokens)↵

39

        public XMLGregorianCalendar popGDay(XMLTypeResourceImpl.DataFrame gDay)↵

40

        {↵

40

        {↵

41

          List<String> resultNMTOKENSValue = XMLTypeFactory.eINSTANCE.createNMTOKENS(nmtokens.popValue());↵

41

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

42

          this.nmtokens = nmtokens;↵

42

          this.gDay = gDay;↵

43

          return resultNMTOKENSValue;↵

43

          return resultGDayValue;↵

44

        }↵

44

        }↵

45

        /**↵

45

        /**↵

46

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

46

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

47

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

47

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

48

         * @generated↵

48

         * @generated↵

49

         */↵

49

         */↵

50

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

50

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

51

        {↵

51

        {↵

52

           XMLTypeResourceImpl.DataFrame resultNMTOKENSBase = nmtokensBase == null ? new XMLTypeResourceImpl.DataFrame() : nmtokensBase;↵

52

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

53

           nmtokensBase↵

53

    gMonth;↵

54

     = null;↵

54

           gMonth = null;↵

55

           resultNMTOKENSBase.pushOnto(previous);↵

55

           resultGMonth.pushOnto(previous);↵

56

           resultNMTOKENSBase.handleAttributes(attributes);↵

56

           resultGMonth.handleAttributes(attributes);↵

57

           return resultNMTOKENSBase;↵

57

           return resultGMonth;↵

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