20-1-2

if (this.popup != null) { // go through each zoom menu item and decide whether or not to // enable it... Plot plot = this.chart.getPlot(); boolean isDomainZoomable = false; boolean isRangeZoomable = false; if (plot instanceof Zoomable) { Zoomable z = (Zoomable) plot; isDomainZoomable = z.isDomainZoomable(); isRangeZoomable = z.isRangeZoomable(); } if (this.zoomInDomainMenuItem != null) { this.zoomInDomainMenuItem.setEnabled(isDomainZoomable); } if (this.zoomOutDomainMenuItem != null) { this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable); } if (this.zoomResetDomainMenuItem != null) { this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable); } if (this.zoomInRangeMenuItem != null) { this.zoomInRangeMenuItem.setEnabled(isRangeZoomable); } if (this.zoomOutRangeMenuItem != null) { this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable); } if (this.zoomResetRangeMenuItem != null) { this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable); } if (this.zoomInBothMenuItem != null) { this.zoomInBothMenuItem.setEnabled(isDomainZoomable & isRangeZoomable); } if (this.zoomOutBothMenuItem != null) { this.zoomOutBothMenuItem.setEnabled(isDomainZoomable & isRangeZoomable); } if (this.zoomResetBothMenuItem != null) { this.zoomResetBothMenuItem.setEnabled(isDomainZoomable & isRangeZoomable); } this.popup.setLocation(x, y); this.popup.setVisible(true); }
if (this.popup != null) { // go through each zoom menu item and decide whether or not to // enable it... Plot plot = this.chart.getPlot(); boolean isDomainZoomable = false; boolean isRangeZoomable = false; if (plot instanceof Zoomable) { Zoomable z = (Zoomable) plot; isDomainZoomable = z.isDomainZoomable(); isRangeZoomable = z.isRangeZoomable(); } if (this.zoomInDomainMenuItem != null) { this.zoomInDomainMenuItem.setEnabled(isDomainZoomable); } if (this.zoomOutDomainMenuItem != null) { this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable); } if (this.zoomResetDomainMenuItem != null) { this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable); } if (this.zoomInRangeMenuItem != null) { this.zoomInRangeMenuItem.setEnabled(isRangeZoomable); } if (this.zoomOutRangeMenuItem != null) { this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable); } if (this.zoomResetRangeMenuItem != null) { this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable); } if (this.zoomInBothMenuItem != null) { this.zoomInBothMenuItem.setEnabled(isDomainZoomable && isRangeZoomable); } if (this.zoomOutBothMenuItem != null) { this.zoomOutBothMenuItem.setEnabled(isDomainZoomable && isRangeZoomable); } if (this.zoomResetBothMenuItem != null) { this.zoomResetBothMenuItem.setEnabled(isDomainZoomable && isRangeZoomable); } this.popup.show(this, x, y); }

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java |  | File path: /jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java
Method name: `void displayPopupMenu(int, int)` |  | Method name: `void displayPopupMenu(int, int)`
Number of AST nodes: 28 |  | Number of AST nodes: 27

1

    if (this.popup != null) {↵

1

    if (this.popup != null) {↵

2

    ↵

2

                // go through each zoom menu item and decide whether or not to ↵

3

                // go through each zoom menu item and decide whether or not to
    ↵

3

                // enable it...↵

4

                // enable it...
    ↵

4

                Plot plot = this.chart.getPlot();↵

5

                Plot plot = this.chart.getPlot();
    ↵

5

                boolean isDomainZoomable = false;↵

6

                boolean isDomainZoomable = false;
    ↵

6

                boolean isRangeZoomable = false;↵

7

                boolean isRangeZoomable = false;
    ↵

7

                if (plot instanceof Zoomable) {↵

8

                if (plot instanceof Zoomable) {
    ↵

8

                    Zoomable z = (Zoomable) plot;↵

9

                    Zoomable z = (Zoomable) plot;
    ↵

9

                    isDomainZoomable = z.isDomainZoomable();↵

10

                    isDomainZoomable = z.isDomainZoomable();
    ↵

10

                    isRangeZoomable = z.isRangeZoomable();↵

11

                    isRangeZoomable = z.isRangeZoomable();
    ↵

11

                }↵

12

                }↵

13

    ↵

12

                if (this.zoomInDomainMenuItem != null) {↵

14

                if (this.zoomInDomainMenuItem != null) {
    ↵

13

                    this.zoomInDomainMenuItem.setEnabled(isDomainZoomable);↵

15

                    this.zoomInDomainMenuItem.setEnabled(isDomainZoomable);
    ↵

14

                }↵

16

                }
    ↵

15

                if (this.zoomOutDomainMenuItem != null) {↵

17

                if (this.zoomOutDomainMenuItem != null) {
    ↵

16

                    this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable);↵

18

                    this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable);
    ↵

17

                } ↵

19

                }
    ↵

18

                if (this.zoomResetDomainMenuItem != null) {↵

20

                if (this.zoomResetDomainMenuItem != null) {
    ↵

19

                    this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable);↵

21

                    this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable);
    ↵

20

                }↵

22

                }↵

23

    ↵

21

                if (this.zoomInRangeMenuItem != null) {↵

24

                if (this.zoomInRangeMenuItem != null) {
    ↵

22

                    this.zoomInRangeMenuItem.setEnabled(isRangeZoomable);↵

25

                    this.zoomInRangeMenuItem.setEnabled(isRangeZoomable);
    ↵

23

                }↵

26

                }
    ↵

24

                if (this.zoomOutRangeMenuItem != null) {↵

27

                if (this.zoomOutRangeMenuItem != null) {
    ↵

25

                    this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable);↵

28

                    this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable);
    ↵

26

                }↵

29

                }↵

30

    ↵

27

                if (this.zoomResetRangeMenuItem != null) {↵

31

                if (this.zoomResetRangeMenuItem != null) {
    ↵

28

                    this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable);↵

32

                    this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable);
    ↵

29

                }↵

33

                }↵

34

    ↵

30

                if (this.zoomInBothMenuItem != null) {↵

35

                if (this.zoomInBothMenuItem != null) {
    ↵

31

                    this.zoomInBothMenuItem.setEnabled(isDomainZoomable ↵

36

                    this.zoomInBothMenuItem.setEnabled(isDomainZoomable
    ↵

32

                            & isRangeZoomable);↵

37

                            && isRangeZoomable);
    ↵

33

                }↵

38

                }
    ↵

34

                if (this.zoomOutBothMenuItem != null) {↵

39

                if (this.zoomOutBothMenuItem != null) {
    ↵

35

                    this.zoomOutBothMenuItem.setEnabled(isDomainZoomable ↵

40

                    this.zoomOutBothMenuItem.setEnabled(isDomainZoomable
    ↵

36

                            & isRangeZoomable);↵

41

                            && isRangeZoomable);
    ↵

37

                }↵

42

                }
    ↵

38

                if (this.zoomResetBothMenuItem != null) {↵

43

                if (this.zoomResetBothMenuItem != null) {
    ↵

39

                    this.zoomResetBothMenuItem.setEnabled(isDomainZoomable ↵

44

                    this.zoomResetBothMenuItem.setEnabled(isDomainZoomable
    ↵

40

                            & isRangeZoomable);↵

45

                            && isRangeZoomable);
    ↵

41

                }↵

46

                }↵

47

    ↵

42

                this.popup.setLocation(x, y);↵

48

                this.popup.s↵

43

                this.popup.setVisible(true);↵

49

    how(this, x, y);
    ↵

44

            }

50

            }

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 1
Number of refactorable cases | 0
Number of non-refactorable cases | 1
Time elapsed for finding largest common nesting structure subtrees (ms) | 8.1
Clones location | Clones are in different classes
Number of node comparisons | 343

1. {Non-refactorable}

   Mapping Summary
   Number of mapped statements | 23
   Number of unmapped statements in the first code fragment | 5
   Number of unmapped statements in the second code fragment | 4
   Time elapsed for statement mapping (ms) | 19.9
   Clone type | Type 3

   Mapped Statements
   ID | Statement |  | ID | Statement
   --- | --- | --- | --- | ---

   1

       if (this.popup != null)

   1 | if (this.popup != null)
   1 | if (this.popup != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.Menu | javax.swing.JPopupMenu | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.Menu of variable this.popup does not match with type javax.swing.JPopupMenu of variable this.popup
   - Make classes org.eclipse.swt.widgets.Menu and javax.swing.JPopupMenu extend a common superclass

   1

       if (this.popup != null)

   2

       Plot plot = this.chart.getPlot();

   2

       Plot plot = this.chart.getPlot();

   3

       boolean isDomainZoomable = false;

   3

       boolean isDomainZoomable = false;

   4

       boolean isRangeZoomable = false;

   4

       boolean isRangeZoomable = false;

   5

       if (plot instanceof Zoomable)

   5

       if (plot instanceof Zoomable)

   6

       Zoomable z = (Zoomable)plot;

   6

       Zoomable z = (Zoomable)plot;

   7

       isDomainZoomable = z.isDomainZoomable();

   7

       isDomainZoomable = z.isDomainZoomable();

   8

       isRangeZoomable = z.isRangeZoomable();

   8

       isRangeZoomable = z.isRangeZoomable();

   9

       if (this.zoomInDomainMenuItem != null)

   9 | if (this.zoomInDomainMenuItem != null)
   9 | if (this.zoomInDomainMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInDomainMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   9

       if (this.zoomInDomainMenuItem != null)

   10

       this.zoomInDomainMenuItem.setEnabled(isDomainZoomable);

   10 | this.zoomInDomainMenuItem.setEnabled(isDomainZoomable);
   10 | this.zoomInDomainMenuItem.setEnabled(isDomainZoomable);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInDomainMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   10

       this.zoomInDomainMenuItem.setEnabled(isDomainZoomable);

   11

       if (this.zoomOutDomainMenuItem != null)

   11 | if (this.zoomOutDomainMenuItem != null)
   11 | if (this.zoomOutDomainMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutDomainMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   11

       if (this.zoomOutDomainMenuItem != null)

   12

       this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable);

   12 | this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable);
   12 | this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutDomainMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   12

       this.zoomOutDomainMenuItem.setEnabled(isDomainZoomable);

   13

       if (this.zoomResetDomainMenuItem != null)

   13 | if (this.zoomResetDomainMenuItem != null)
   13 | if (this.zoomResetDomainMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetDomainMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   13

       if (this.zoomResetDomainMenuItem != null)

   14

       this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable);

   14 | this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable);
   14 | this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetDomainMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   14

       this.zoomResetDomainMenuItem.setEnabled(isDomainZoomable);

   15

       if (this.zoomInRangeMenuItem != null)

   15 | if (this.zoomInRangeMenuItem != null)
   15 | if (this.zoomInRangeMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInRangeMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   15

       if (this.zoomInRangeMenuItem != null)

   16

       this.zoomInRangeMenuItem.setEnabled(isRangeZoomable);

   16 | this.zoomInRangeMenuItem.setEnabled(isRangeZoomable);
   16 | this.zoomInRangeMenuItem.setEnabled(isRangeZoomable);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInRangeMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   16

       this.zoomInRangeMenuItem.setEnabled(isRangeZoomable);

   17

       if (this.zoomOutRangeMenuItem != null)

   17 | if (this.zoomOutRangeMenuItem != null)
   17 | if (this.zoomOutRangeMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutRangeMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   17

       if (this.zoomOutRangeMenuItem != null)

   18

       this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable);

   18 | this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable);
   18 | this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutRangeMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   18

       this.zoomOutRangeMenuItem.setEnabled(isRangeZoomable);

   19

       if (this.zoomResetRangeMenuItem != null)

   19 | if (this.zoomResetRangeMenuItem != null)
   19 | if (this.zoomResetRangeMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetRangeMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   19

       if (this.zoomResetRangeMenuItem != null)

   20

       this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable);

   20 | this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable);
   20 | this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable);

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetRangeMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   20

       this.zoomResetRangeMenuItem.setEnabled(isRangeZoomable);

   21

       if (this.zoomInBothMenuItem != null)

   21 | if (this.zoomInBothMenuItem != null)
   21 | if (this.zoomInBothMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInBothMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInBothMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   21

       if (this.zoomInBothMenuItem != null)

   22

       this.zoomInBothMenuItem.setEnabled(isDomainZoomable && isRangeZoomable);

   22

       this.zoomInBothMenuItem.setEnabled(isDomainZoomable & isRangeZoomable);

   23

       if (this.zoomOutBothMenuItem != null)

   23 | if (this.zoomOutBothMenuItem != null)
   23 | if (this.zoomOutBothMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutBothMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutBothMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   23

       if (this.zoomOutBothMenuItem != null)

   24

       this.zoomOutBothMenuItem.setEnabled(isDomainZoomable && isRangeZoomable);

   24

       this.zoomOutBothMenuItem.setEnabled(isDomainZoomable & isRangeZoomable);

   25

       if (this.zoomResetBothMenuItem != null)

   25 | if (this.zoomResetBothMenuItem != null)
   25 | if (this.zoomResetBothMenuItem != null)

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.eclipse.swt.widgets.MenuItem | javax.swing.JMenuItem | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetBothMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetBothMenuItem
   - Make classes org.eclipse.swt.widgets.MenuItem and javax.swing.JMenuItem extend a common superclass

   25

       if (this.zoomResetBothMenuItem != null)

   26

       this.zoomResetBothMenuItem.setEnabled(isDomainZoomable && isRangeZoomable);

   26

       this.zoomResetBothMenuItem.setEnabled(isDomainZoomable & isRangeZoomable);

   27

       this.popup.show(this, x, y);

   27

       this.popup.setLocation(x, y);

   28

       this.popup.setVisible(true);

   Precondition Violations (17)
   Row | Violation
   --- | ---
   1 | Type org.eclipse.swt.widgets.Menu of variable this.popup does not match with type javax.swing.JPopupMenu of variable this.popup
   2 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInDomainMenuItem
   3 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInDomainMenuItem
   4 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutDomainMenuItem
   5 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutDomainMenuItem
   6 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetDomainMenuItem
   7 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetDomainMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetDomainMenuItem
   8 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInRangeMenuItem
   9 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInRangeMenuItem
   10 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutRangeMenuItem
   11 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutRangeMenuItem
   12 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetRangeMenuItem
   13 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetRangeMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetRangeMenuItem
   14 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomInBothMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomInBothMenuItem
   15 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomOutBothMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomOutBothMenuItem
   16 | Type org.eclipse.swt.widgets.MenuItem of variable this.zoomResetBothMenuItem does not match with type javax.swing.JMenuItem of variable this.zoomResetBothMenuItem
   17 | Clone fragment #1 returns variables isDomainZoomable, isRangeZoomable , while Clone fragment #2 returns variables isDomainZoomable, isRangeZoomable