2174-1-2

XMLTypeResourceImpl.DataFrame pushAnyURI(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultAnyURI = anyURI == null ? new XMLTypeResourceImpl.DataFrame() : anyURI; anyURI = null; resultAnyURI.pushOnto(previous); resultAnyURI.handleAttributes(attributes); return resultAnyURI; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popAnyURI(XMLTypeResourceImpl.DataFrame anyURI) { String resultAnyURIValue = XMLTypeFactory.eINSTANCE.createAnyURI(anyURI.popValue()); this.anyURI = anyURI; return resultAnyURIValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushBase64Binary(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultBase64Binary = base64Binary == null ? new XMLTypeResourceImpl.DataFrame() : base64Binary; base64Binary = null; resultBase64Binary.pushOnto(previous); resultBase64Binary.handleAttributes(attributes); return resultBase64Binary; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public byte[] popBase64Binary(XMLTypeResourceImpl.DataFrame base64Binary) { byte[] resultBase64BinaryValue = XMLTypeFactory.eINSTANCE.createBase64Binary(base64Binary.popValue()); this.base64Binary = base64Binary; return resultBase64BinaryValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public XMLTypeResourceImpl.DataFrame pushBoolean(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultBoolean = boolean_ == null ? new XMLTypeResourceImpl.DataFrame() : boolean_; boolean_ = null; resultBoolean.pushOnto(previous); resultBoolean.handleAttributes(attributes); return resultBoolean; }
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; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public byte[] popHexBinary(XMLTypeResourceImpl.DataFrame hexBinary) { byte[] resultHexBinaryValue = XMLTypeFactory.eINSTANCE.createHexBinary(hexBinary.popValue()); this.hexBinary = hexBinary; return resultHexBinaryValue; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public 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; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultAnyURI = anyURI == null ? new XMLTypeResourceImpl.DataFrame() : anyURI;↵

3

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

4

           anyURI↵

4

    gYearMonth;↵

5

     = null;↵

5

           gYearMonth = null;↵

6

           resultAnyURI.pushOnto(previous);↵

6

           resultGYearMonth.pushOnto(previous);↵

7

           resultAnyURI.handleAttributes(attributes);↵

7

           resultGYearMonth.handleAttributes(attributes);↵

8

           return resultAnyURI;↵

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 popAnyURI(XMLTypeResourceImpl.DataFrame anyURI)↵

15

        public XMLGregorianCalendar popGYearMonth(XMLTypeResourceImpl.DataFrame gYearMonth)↵

16

        {↵

16

        {↵

17

          String resultAnyURIValue = XMLTypeFactory.eINSTANCE.createAnyURI(anyURI.popValue());↵

17

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

18

          this.anyURI = anyURI;↵

18

          this.gYearMonth = gYearMonth;↵

19

          return resultAnyURIValue;↵

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

26

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

27

        {↵

27

        {↵

28

           XMLTypeResourceImpl.DataFrame resultBase64Binary = base64Binary == null ? new XMLTypeResourceImpl.DataFrame() : base64Binary;↵

28

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

29

           base64Binary = null;↵

29

           hexBinary = null;↵

30

           resultBase64Binary.pushOnto(previous);↵

30

           resultHexBinary.pushOnto(previous);↵

31

           resultBase64Binary.handleAttributes(attributes);↵

31

           resultHexBinary.handleAttributes(attributes);↵

32

           return resultBase64Binary;↵

32

           return resultHexBinary;↵

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 byte[] popBase64Binary(XMLTypeResourceImpl.DataFrame base64Binary)↵

39

        public byte[] popHexBinary(XMLTypeResourceImpl.DataFrame hexBinary)↵

40

        {↵

40

        {↵

41

          byte[] resultBase64BinaryValue = XMLTypeFactory.eINSTANCE.createBase64Binary(base64Binary.popValue());↵

41

          byte[] resultHexBinaryValue = XMLTypeFactory.eINSTANCE.createHexBinary(hexBinary.popValue());↵

42

          this.base64Binary = base64Binary;↵

42

          this.hexBinary = hexBinary;↵

43

          return resultBase64BinaryValue;↵

43

          return resultHexBinaryValue;↵

44

        }↵

44

        }↵

45

        /**↵

45

        /**↵

46

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

46

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

47

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

47

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

48

         * @generated↵

48

         * @generated↵

49

         */↵

49

         */↵

50

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

50

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

51

        {↵

51

        {↵

52

           XMLTypeResourceImpl.DataFrame resultBoolean = boolean_ == null ? new XMLTypeResourceImpl.DataFrame() : boolean_;↵

52

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

53

           boolean_ = null;↵

53

           id = null;↵

54

           resultBoolean.pushOnto(previous);↵

54

           resultID.pushOnto(previous);↵

55

           resultBoolean.handleAttributes(attributes);↵

55

           resultID.handleAttributes(attributes);↵

56

           return resultBoolean;↵

56

           return resultID;↵

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