2160-13-16

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 pushNOTATION(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation; notation = null; resultNOTATION.pushOnto(previous); resultNOTATION.handleAttributes(attributes); return resultNOTATION; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation) { QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue()); this.notation = notation; return resultNOTATIONValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushPositiveInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : positiveInteger; positiveInteger = null; resultPositiveInteger.pushOnto(previous); resultPositiveInteger.handleAttributes(attributes); return resultPositiveInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popPositiveInteger(XMLTypeResourceImpl.DataFrame positiveInteger) { BigInteger resultPositiveIntegerValue = XMLTypeFactory.eINSTANCE.createPositiveInteger(positiveInteger.popValue()); this.positiveInteger = positiveInteger; return resultPositiveIntegerValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushQName(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName; qName = null; resultQName.pushOnto(previous); resultQName.handleAttributes(attributes); return resultQName; }

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

2

        {↵

2

        {↵

3

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

3

           XMLTypeResourceImpl.DataFrame resultNOTATION = notation == null ? new XMLTypeResourceImpl.DataFrame() : notation;↵

4

           idref = null;↵

4

           notation = null;↵

5

           resultIDREF.pushOnto(previous);↵

5

           resultNOTATION.pushOnto(previous);↵

6

           resultIDREF.handleAttributes(attributes);↵

6

           resultNOTATION.handleAttributes(attributes);↵

7

           return resultIDREF;↵

7

           return resultNOTATION;↵

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

14

        public QName popNOTATION(XMLTypeResourceImpl.DataFrame notation)↵

15

        {↵

15

        {↵

16

          String resultIDREFValue = XMLTypeFactory.eINSTANCE.createIDREF(idref.popValue());↵

16

          QName resultNOTATIONValue = XMLTypeFactory.eINSTANCE.createNOTATION(notation.popValue());↵

17

          this.idref = idref;↵

17

          this.notation = notation;↵

18

          return resultIDREFValue;↵

18

          return resultNOTATIONValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

           XMLTypeResourceImpl.DataFrame resultPositiveInteger = positiveInteger == null ? new XMLTypeResourceImpl.DataFrame() : ↵

28

           idrefs↵

28

    positiveInteger;↵

29

     = null;↵

29

           positiveInteger = null;↵

30

           resultIDREFS.pushOnto(previous);↵

30

           resultPositiveInteger.pushOnto(previous);↵

31

           resultIDREFS.handleAttributes(attributes);↵

31

           resultPositiveInteger.handleAttributes(attributes);↵

32

           return resultIDREFS;↵

32

           return resultPositiveInteger;↵

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> popIDREFS(XMLTypeResourceImpl.DataFrame idrefs)↵

39

        public BigInteger popPositiveInteger(XMLTypeResourceImpl.DataFrame ↵

40

        {↵

41

          List<String> resultIDREFS↵

40

    positiveInteger)↵

41

        {↵

42

    Value = XMLTypeFactory.eINSTANCE.createIDREFS(idrefs.popValue());↵

42

          BigInteger resultPositiveIntegerValue = XMLTypeFactory.eINSTANCE.create↵

43

          this.idrefs = idrefs↵

43

    PositiveInteger(positiveInteger.popValue());↵

44

    ;↵

44

          this.positiveInteger = positiveInteger;↵

45

          return resultIDREFSValue;↵

45

          return resultPositiveIntegerValue;↵

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

53

        {↵

53

        {↵

54

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

54

           XMLTypeResourceImpl.DataFrame resultQName = qName == null ? new XMLTypeResourceImpl.DataFrame() : qName;↵

55

           idrefsBase = null;↵

55

           qName = null;↵

56

           resultIDREFSBase.pushOnto(previous);↵

56

           resultQName.pushOnto(previous);↵

57

           resultIDREFSBase.handleAttributes(attributes);↵

57

           resultQName.handleAttributes(attributes);↵

58

           return resultIDREFSBase;↵

58

           return resultQName;↵

59

        }

59

        }

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