2153-5-10

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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase) { List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.createENTITIESBase(entitiesBase.popValue()); this.entitiesBase = entitiesBase; return resultENTITIESBaseValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushENTITY(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultENTITY = entity == null ? new XMLTypeResourceImpl.DataFrame() : entity; entity = null; resultENTITY.pushOnto(previous); resultENTITY.handleAttributes(attributes); return resultENTITY; }
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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popNMTOKENSBase(XMLTypeResourceImpl.DataFrame nmtokensBase) { List<String> resultNMTOKENSBaseValue = XMLTypeFactory.eINSTANCE.createNMTOKENSBase(nmtokensBase.popValue()); this.nmtokensBase = nmtokensBase; return resultNMTOKENSBaseValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushNonNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonNegativeInteger; nonNegativeInteger = null; resultNonNegativeInteger.pushOnto(previous); resultNonNegativeInteger.handleAttributes(attributes); return resultNonNegativeInteger; }

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

1

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

2

        {↵

2

        {↵

3

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

3

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

4

           entities = null;↵

4

           nmtokens = null;↵

5

           resultENTITIES.pushOnto(previous);↵

5

           resultNMTOKENS.pushOnto(previous);↵

6

           resultENTITIES.handleAttributes(attributes);↵

6

           resultNMTOKENS.handleAttributes(attributes);↵

7

           return resultENTITIES;↵

7

           return resultNMTOKENS;↵

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

14

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

15

        {↵

15

        {↵

16

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

16

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

17

          this.entities = entities;↵

17

          this.nmtokens = nmtokens;↵

18

          return resultENTITIESValue;↵

18

          return resultNMTOKENSValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

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

28

           entitiesBase = null;↵

28

           nmtokensBase = null;↵

29

           resultENTITIESBase.pushOnto(previous);↵

29

           resultNMTOKENSBase.pushOnto(previous);↵

30

           resultENTITIESBase.handleAttributes(attributes);↵

30

           resultNMTOKENSBase.handleAttributes(attributes);↵

31

           return resultENTITIESBase;↵

31

           return resultNMTOKENSBase;↵

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> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase)↵

38

        public List<String> popNMTOKENSBase(XMLTypeResourceImpl.DataFrame nmtokensBase)↵

39

        {↵

39

        {↵

40

          List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.createENTITIESBase(entitiesBase.popValue());↵

40

          List<String> resultNMTOKENSBaseValue = XMLTypeFactory.eINSTANCE.createNMTOKENSBase(nmtokensBase.popValue());↵

41

          this.entitiesBase = entitiesBase;↵

41

          this.nmtokensBase = nmtokensBase;↵

42

          return resultENTITIESBaseValue;↵

42

          return resultNMTOKENSBaseValue;↵

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

49

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

50

        {↵

50

        {↵

51

           XMLTypeResourceImpl.DataFrame resultENTITY = entity == null ? new XMLTypeResourceImpl.DataFrame() : entity;↵

51

           XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

52

           entity↵

52

    nonNegativeInteger;↵

53

     = null;↵

53

           nonNegativeInteger = null;↵

54

           resultENTITY.pushOnto(previous);↵

54

           resultNonNegativeInteger.pushOnto(previous);↵

55

           resultENTITY.handleAttributes(attributes);↵

55

           resultNonNegativeInteger.handleAttributes(attributes);↵

56

           return resultENTITY;↵

56

           return resultNonNegativeInteger;↵

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