2156-2-4

XMLTypeResourceImpl.DataFrame pushID(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultID = id == null ? new XMLTypeResourceImpl.DataFrame() : id; id = null; resultID.pushOnto(previous); resultID.handleAttributes(attributes); return resultID; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popID(XMLTypeResourceImpl.DataFrame id) { String resultIDValue = XMLTypeFactory.eINSTANCE.createID(id.popValue()); this.id = id; return resultIDValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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 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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popENTITY(XMLTypeResourceImpl.DataFrame entity) { String resultENTITYValue = XMLTypeFactory.eINSTANCE.createENTITY(entity.popValue()); this.entity = entity; return resultENTITYValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushFloat(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultFloat = float_ == null ? new XMLTypeResourceImpl.DataFrame() : float_; float_ = null; resultFloat.pushOnto(previous); resultFloat.handleAttributes(attributes); return resultFloat; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultID = id == null ? new XMLTypeResourceImpl.DataFrame() : id;↵

3

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

4

           id = null;↵

4

           entities = null;↵

5

           resultID.pushOnto(previous);↵

5

           resultENTITIES.pushOnto(previous);↵

6

           resultID.handleAttributes(attributes);↵

6

           resultENTITIES.handleAttributes(attributes);↵

7

           return resultID;↵

7

           return resultENTITIES;↵

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 popID(XMLTypeResourceImpl.DataFrame id)↵

14

        public List<String> popENTITIES(XMLTypeResourceImpl.DataFrame entities)↵

15

        {↵

15

        {↵

16

          String resultIDValue = XMLTypeFactory.eINSTANCE.createID(id.popValue());↵

16

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

17

          this.id = id;↵

17

          this.entities = entities;↵

18

          return resultIDValue;↵

18

          return resultENTITIESValue;↵

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

25

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

26

        {↵

26

        {↵

27

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

27

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

28

           idref↵

28

    entitiesBase;↵

29

     = null;↵

29

           entitiesBase = null;↵

30

           resultIDREF.pushOnto(previous);↵

30

           resultENTITIESBase.pushOnto(previous);↵

31

           resultIDREF.handleAttributes(attributes);↵

31

           resultENTITIESBase.handleAttributes(attributes);↵

32

           return resultIDREF;↵

32

           return resultENTITIESBase;↵

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

39

        public List<String> popENTITIESBase(XMLTypeResourceImpl.DataFrame entitiesBase)↵

40

        {↵

40

        {↵

41

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

41

          List<String> resultENTITIESBaseValue = XMLTypeFactory.eINSTANCE.create↵

42

          this.idref = idref↵

42

    ENTITIESBase(entitiesBase.popValue());↵

43

    ;↵

43

          this.entitiesBase = entitiesBase;↵

44

          return resultIDREFValue;↵

44

          return resultENTITIESBaseValue;↵

45

        }↵

45

        }↵

46

        /**↵

46

        /**↵

47

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

47

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

48

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

48

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

49

         * @generated↵

49

         * @generated↵

50

         */↵

50

         */↵

51

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

51

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

52

        {↵

52

        {↵

53

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

53

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

54

           idrefs = null;↵

54

           entity = null;↵

55

           resultIDREFS.pushOnto(previous);↵

55

           resultENTITY.pushOnto(previous);↵

56

           resultIDREFS.handleAttributes(attributes);↵

56

           resultENTITY.handleAttributes(attributes);↵

57

           return resultIDREFS;↵

57

           return resultENTITY;↵

58

        }↵

58

        }↵

59

        /**↵

59

        /**↵

60

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

60

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

61

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

61

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

62

         * @generated↵

62

         * @generated↵

63

         */↵

63

         */↵

64

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

64

        public String popENTITY(XMLTypeResourceImpl.DataFrame entity)↵

65

        {↵

65

        {↵

66

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

66

          String resultENTITYValue = XMLTypeFactory.eINSTANCE.createENTITY(entity.popValue());↵

67

          this.idrefs = idrefs;↵

67

          this.entity = entity;↵

68

          return resultIDREFSValue;↵

68

          return resultENTITYValue;↵

69

        }↵

69

        }↵

70

        /**↵

70

        /**↵

71

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

71

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

72

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

72

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

73

         * @generated↵

73

         * @generated↵

74

         */↵

74

         */↵

75

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

75

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

76

        {↵

76

        {↵

77

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

77

           XMLTypeResourceImpl.DataFrame resultFloat = float_ == null ? new XMLTypeResourceImpl.DataFrame() : ↵

78

           idrefsBase↵

78

    float_;↵

79

     = null;↵

79

           float_ = null;↵

80

           resultIDREFSBase.pushOnto(previous);↵

80

           resultFloat.pushOnto(previous);↵

81

           resultIDREFSBase.handleAttributes(attributes);↵

81

           resultFloat.handleAttributes(attributes);↵

82

           return resultIDREFSBase;↵

82

           return resultFloat;↵

83

        }

83

        }

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