2152-36-42

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; }
XMLTypeResourceImpl.DataFrame pushGYearMonth(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultGYearMonth = gYearMonth == null ? new XMLTypeResourceImpl.DataFrame() : gYearMonth; gYearMonth = null; resultGYearMonth.pushOnto(previous); resultGYearMonth.handleAttributes(attributes); return resultGYearMonth; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLGregorianCalendar popGYearMonth(XMLTypeResourceImpl.DataFrame gYearMonth) { XMLGregorianCalendar resultGYearMonthValue = XMLTypeFactory.eINSTANCE.createGYearMonth(gYearMonth.popValue()); this.gYearMonth = gYearMonth; return resultGYearMonthValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushHexBinary(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultHexBinary = hexBinary == null ? new XMLTypeResourceImpl.DataFrame() : hexBinary; hexBinary = null; resultHexBinary.pushOnto(previous); resultHexBinary.handleAttributes(attributes); return resultHexBinary; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultGYearMonth = gYearMonth == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           nmtoken↵

4

    gYearMonth;↵

5

     = null;↵

5

           gYearMonth = null;↵

6

           resultNMTOKEN.pushOnto(previous);↵

6

           resultGYearMonth.pushOnto(previous);↵

7

           resultNMTOKEN.handleAttributes(attributes);↵

7

           resultGYearMonth.handleAttributes(attributes);↵

8

           return resultNMTOKEN;↵

8

           return resultGYearMonth;↵

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 XMLGregorianCalendar popGYearMonth(XMLTypeResourceImpl.DataFrame gYearMonth)↵

16

        {↵

16

        {↵

17

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

17

          XMLGregorianCalendar resultGYearMonthValue = XMLTypeFactory.eINSTANCE.createGYearMonth(gYearMonth.popValue());↵

18

          this.nmtoken = nmtoken;↵

18

          this.gYearMonth = gYearMonth;↵

19

          return resultNMTOKENValue;↵

19

          return resultGYearMonthValue;↵

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

27

        {↵

27

        {↵

28

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

28

           XMLTypeResourceImpl.DataFrame resultHexBinary = hexBinary == null ? new XMLTypeResourceImpl.DataFrame() : ↵

29

           nmtokens↵

29

    hexBinary;↵

30

     = null;↵

30

           hexBinary = null;↵

31

           resultNMTOKENS.pushOnto(previous);↵

31

           resultHexBinary.pushOnto(previous);↵

32

           resultNMTOKENS.handleAttributes(attributes);↵

32

           resultHexBinary.handleAttributes(attributes);↵

33

           return resultNMTOKENS;↵

33

           return resultHexBinary;↵

34

        }

34

        }

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