2160-13-19

XMLTypeResourceImpl.DataFrame pushIDREF(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : idref; idref = null; resultIDREF.pushOnto(previous); resultIDREF.handleAttributes(attributes); return resultIDREF; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popIDREF(XMLTypeResourceImpl.DataFrame idref) { String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue()); this.idref = idref; return resultIDREFValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFS(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs; idrefs = null; resultIDREFS.pushOnto(previous); resultIDREFS.handleAttributes(attributes); return resultIDREFS; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public List<String> popIDREFS(XMLTypeResourceImpl.DataFrame idrefs) { List<String> resultIDREFSValue = XMLTypeFactory.eINSTANCE.createIDREFS(idrefs.popValue()); this.idrefs = idrefs; return resultIDREFSValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushIDREFSBase(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase; idrefsBase = null; resultIDREFSBase.pushOnto(previous); resultIDREFSBase.handleAttributes(attributes); return resultIDREFSBase; }
XMLTypeResourceImpl.DataFrame pushNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger; negativeInteger = null; resultNegativeInteger.pushOnto(previous); resultNegativeInteger.handleAttributes(attributes); return resultNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger) { BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue()); this.negativeInteger = negativeInteger; return resultNegativeIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultIDREF = idref == null ? new XMLTypeResourceImpl.DataFrame() : idref;↵

3

           XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           idref↵

4

    negativeInteger;↵

5

     = null;↵

5

           negativeInteger = null;↵

6

           resultIDREF.pushOnto(previous);↵

6

           resultNegativeInteger.pushOnto(previous);↵

7

           resultIDREF.handleAttributes(attributes);↵

7

           resultNegativeInteger.handleAttributes(attributes);↵

8

           return resultIDREF;↵

8

           return resultNegativeInteger;↵

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 popIDREF(XMLTypeResourceImpl.DataFrame idref)↵

15

        public BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          String resultIDREF↵

16

    negativeInteger)↵

17

        {↵

18

    Value = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue());↵

18

          BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.create↵

19

          this.idref = idref↵

19

    NegativeInteger(negativeInteger.popValue());↵

20

    ;↵

20

          this.negativeInteger = negativeInteger;↵

21

          return resultIDREFValue;↵

21

          return resultNegativeIntegerValue;↵

22

        }↵

22

        }↵

23

        /**↵

23

        /**↵

24

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

24

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

25

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

25

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

26

         * @generated↵

26

         * @generated↵

27

         */↵

27

         */↵

28

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

28

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

29

        {↵

29

        {↵

30

           XMLTypeResourceImpl.DataFrame resultIDREFS = idrefs == null ? new XMLTypeResourceImpl.DataFrame() : idrefs;↵

30

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

31

           idrefs = null;↵

31

           nmtoken = null;↵

32

           resultIDREFS.pushOnto(previous);↵

32

           resultNMTOKEN.pushOnto(previous);↵

33

           resultIDREFS.handleAttributes(attributes);↵

33

           resultNMTOKEN.handleAttributes(attributes);↵

34

           return resultIDREFS;↵

34

           return resultNMTOKEN;↵

35

        }↵

35

        }↵

36

        /**↵

36

        /**↵

37

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

37

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

38

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

38

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

39

         * @generated↵

39

         * @generated↵

40

         */↵

40

         */↵

41

        public List<String> popIDREFS(XMLTypeResourceImpl.DataFrame idrefs)↵

41

        public String popNMTOKEN(XMLTypeResourceImpl.DataFrame nmtoken)↵

42

        {↵

42

        {↵

43

          List<String> resultIDREFSValue = XMLTypeFactory.eINSTANCE.createIDREFS(idrefs.popValue());↵

43

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

44

          this.idrefs = idrefs;↵

44

          this.nmtoken = nmtoken;↵

45

          return resultIDREFSValue;↵

45

          return resultNMTOKENValue;↵

46

        }↵

46

        }↵

47

        /**↵

47

        /**↵

48

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

48

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

49

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

49

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

50

         * @generated↵

50

         * @generated↵

51

         */↵

51

         */↵

52

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

52

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

53

        {↵

53

        {↵

54

           XMLTypeResourceImpl.DataFrame resultIDREFSBase = idrefsBase == null ? new XMLTypeResourceImpl.DataFrame() : idrefsBase;↵

54

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

55

           idrefsBase↵

55

    nmtokens;↵

56

     = null;↵

56

           nmtokens = null;↵

57

           resultIDREFSBase.pushOnto(previous);↵

57

           resultNMTOKENS.pushOnto(previous);↵

58

           resultIDREFSBase.handleAttributes(attributes);↵

58

           resultNMTOKENS.handleAttributes(attributes);↵

59

           return resultIDREFSBase;↵

59

           return resultNMTOKENS;↵

60

        }

60

        }

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