if (obj == this) { return true; } if (!(obj instanceof JFreeChart)) { return false; } JFreeChart that = (JFreeChart) obj; if (!this.renderingHints.equals(that.renderingHints)) { return false; } if (this.borderVisible != that.borderVisible) { return false; } if (!ObjectUtilities.equal(this.borderStroke, that.borderStroke)) { return false; } if (!PaintUtilities.equal(this.borderPaint, that.borderPaint)) { return false; } if (!this.padding.equals(that.padding)) { return false; } if (!ObjectUtilities.equal(this.title, that.title)) { return false; } if (!ObjectUtilities.equal(this.subtitles, that.subtitles)) { return false; } if (!ObjectUtilities.equal(this.plot, that.plot)) { return false; } if (!PaintUtilities.equal( this.backgroundPaint, that.backgroundPaint )) { return false; } if (!ObjectUtilities.equal(this.backgroundImage, that.backgroundImage)) { return false; } if (this.backgroundImageAlignment != that.backgroundImageAlignment) { return false; } if (this.backgroundImageAlpha != that.backgroundImageAlpha) { return false; } if (this.notify != that.notify) { return false; } return true;
if (!(obj instanceof LegendGraphic)) { return false; } LegendGraphic that = (LegendGraphic) obj; if (this.shapeVisible != that.shapeVisible) { return false; } if (!ShapeUtilities.equal(this.shape, that.shape)) { return false; } if (this.shapeFilled != that.shapeFilled) { return false; } if (!PaintUtilities.equal(this.fillPaint, that.fillPaint)) { return false; } if (!ObjectUtilities.equal(this.fillPaintTransformer, that.fillPaintTransformer)) { return false; } if (this.shapeOutlineVisible != that.shapeOutlineVisible) { return false; } if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint)) { return false; } if (!ObjectUtilities.equal(this.outlineStroke, that.outlineStroke)) { return false; } if (this.shapeAnchor != that.shapeAnchor) { return false; } if (this.shapeLocation != that.shapeLocation) { return false; } if (this.lineVisible != that.lineVisible) { return false; } if (!ShapeUtilities.equal(this.line, that.line)) { return false; } if (!PaintUtilities.equal(this.linePaint, that.linePaint)) { return false; } if (!ObjectUtilities.equal(this.lineStroke, that.lineStroke)) { return false; } return super.equals(obj);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/JFreeChart.java File path: /jfreechart-1.0.10/src/org/jfree/chart/title/LegendGraphic.java
Method name: boolean equals(Object) Method name: boolean equals(Object)
Number of AST nodes: 32 Number of AST nodes: 32
1
if (obj == this) {
1
if (!(obj instanceof LegendGraphic)) {
2
            return true;
2
            return false;
3
        }
3
        }
4
        if (!(obj instanceof JFreeChart)
4
        LegendGraphic that = (LegendGraphic) obj;
5
) {
5
        if (this.shapeVisible != that.shapeVisible) {
6
            return false;
6
            return false;
7
        }
7
        }
8
        JFreeChart that = (JFreeChart) obj;
8
        
9
        if (!this.renderingHints.equals(that.renderingHints)) {
9
if (!ShapeUtilities.equal(this.shape, that.shape)) {
10
            return false;
10
            return false;
11
        }
11
        }
12
        if (this.borderVisible != that.borderVisible) {
12
        if (this.shapeFilled != that.shapeFilled) {
13
            return false;
13
            return false;
14
        }
14
        }
15
        if (!ObjectUtilities.equal(this.borderStroke, that.borderStroke)) {
15
        if (!PaintUtilities.equal(this.fillPaint, that.fillPaint)) {
16
            return false;
16
            return false;
17
        }
17
        }
18
        if (!PaintUtilities.equal(this.borderPaint, that.borderPaint
18
        if (!ObjectUtilities.equal(this.fillPaintTransformer, 
19
)) {
19
                that.fillPaintTransformer)) {
20
            return false;
20
            return false;
21
        }
21
        }
22
        if (!this.padding.equals(that.padding)) {
22
        if (this.shapeOutlineVisible != that.shapeOutlineVisible) {
23
            return false;
23
            return false;
24
        }
24
        }
25
        if (!ObjectUtilities.equal(this.title, that.title)) {
25
        if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint)) {
26
            return false;
26
            return false;
27
        }
27
        }
28
        if (!ObjectUtilities.equal(this.subtitles, that.subtitles)) {
28
        if (!ObjectUtilities.equal(this.outlineStroke, that.outlineStroke)) {
29
            return false;
29
            return false;
30
        }
30
        }
31
        if (!ObjectUtilities.equal(this.plot, that.plot)) {
31
        if (this.shapeAnchor != that.shapeAnchor) {
32
            return false;
32
            return false;
33
        }
33
        }
34
        if (!PaintUtilities.equal(
34
        if (
35
            this.backgroundPaint, that.backgroundPaint
36
        )) {
35
this.shapeLocation != that.shapeLocation) {
37
            return false;
36
            return false;
38
        }
37
        }
39
        if (!ObjectUtilities.equal(this.backgroundImage,
38
        if (
40
                that.backgroundImage)) {
39
this.lineVisible != that.lineVisible) {
41
            return false;
40
            return false;
42
        }
41
        }
43
        if (this.backgroundImageAlignment != that.backgroundImageAlignment) {
42
        if (!ShapeUtilities.equal(this.line, that.line)) {
44
            return false;
43
            return false;
45
        }
44
        }
46
        if (this.backgroundImageAlpha != that.backgroundImageAlpha) {
45
        if (!PaintUtilities.equal(this.linePaint, that.linePaint)) {
47
            return false;
46
            return false;
48
        }
47
        }
49
        if (this.notify != that.notify) {
48
        if (!ObjectUtilities.equal(this.lineStroke, that.lineStroke)) {
50
            return false;
49
            return false;
51
        }
50
        }
52
        return true;
51
        return super.equals(obj);
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)28.0
Clones locationClones are in different classes
Number of node comparisons415
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements27
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment4
    Time elapsed for statement mapping (ms)27.8
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    3
    if (!(obj instanceof JFreeChart))
    3
    if (!(obj instanceof JFreeChart))
    1
    if (!(obj instanceof LegendGraphic))
    Differences
    Expression1Expression2Difference
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    1
    if (!(obj instanceof LegendGraphic))
    4
    return false;
    2
    return false;
    5
    JFreeChart that = (JFreeChart)obj;
    5
    JFreeChart that = (JFreeChart)obj;
    3
    LegendGraphic that = (LegendGraphic)obj;
    Differences
    Expression1Expression2Difference
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    3
    LegendGraphic that = (LegendGraphic)obj;
    6
    if (!this.renderingHints.equals(that.renderingHints))
    6
    if (!this.renderingHints.equals(that.renderingHints))
    6
    if (!ShapeUtilities.equal(this.shape, that.shape))
    Differences
    Expression1Expression2Difference
    this.renderingHints.equals(that.renderingHints)ShapeUtilities.equal(this.shape,that.shape)TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression this.renderingHints.equals(that.renderingHints) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression ShapeUtilities.equal(this.shape,that.shape) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    6
    if (!ShapeUtilities.equal(this.shape, that.shape))
    7
    return false;
    7
    return false;
    8
    if (this.borderVisible != that.borderVisible)
    8
    if (this.borderVisible != that.borderVisible)
    4
    if (this.shapeVisible != that.shapeVisible)
    Differences
    Expression1Expression2Difference
    borderVisibleshapeVisibleVARIABLE_NAME_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    borderVisibleshapeVisibleVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression that.borderVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.shapeVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    4
    if (this.shapeVisible != that.shapeVisible)
    9
    return false;
    5
    return false;
                                                                                          
    8
    if (this.shapeFilled != that.shapeFilled)
    Preondition Violations
    Unmatched statement if(this.shapeFilled != that.shapeFilled) cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    8
    if (this.shapeFilled != that.shapeFilled)
                                    
    9
    return false;
    Preondition Violations
    Unmatched return false;
    9
    return false;
    10
    if (!ObjectUtilities.equal(this.borderStroke, that.borderStroke))
    10
    if (!ObjectUtilities.equal(this.borderStroke, that.borderStroke))
    18
    if (!ObjectUtilities.equal(this.outlineStroke, that.outlineStroke))
    Differences
    Expression1Expression2Difference
    borderStrokeoutlineStrokeVARIABLE_NAME_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    borderStrokeoutlineStrokeVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression that.borderStroke cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.outlineStroke cannot be parameterized, because it has dependencies to/from statements that will be extracted
    18
    if (!ObjectUtilities.equal(this.outlineStroke, that.outlineStroke))
    11
    return false;
    19
    return false;
    12
    if (!PaintUtilities.equal(this.borderPaint, that.borderPaint))
    12
    if (!PaintUtilities.equal(this.borderPaint, that.borderPaint))
    10
    if (!PaintUtilities.equal(this.fillPaint, that.fillPaint))
    Differences
    Expression1Expression2Difference
    borderPaintfillPaintVARIABLE_NAME_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    borderPaintfillPaintVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression that.borderPaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.fillPaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    10
    if (!PaintUtilities.equal(this.fillPaint, that.fillPaint))
    13
    return false;
    11
    return false;
    14
    if (!this.padding.equals(that.padding))
    14
    if (!this.padding.equals(that.padding))
    12
    if (!ObjectUtilities.equal(this.fillPaintTransformer, that.fillPaintTransformer))
    Differences
    Expression1Expression2Difference
    this.padding.equals(that.padding)ObjectUtilities.equal(this.fillPaintTransformer,that.fillPaintTransformer)TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression this.padding.equals(that.padding) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression ObjectUtilities.equal(this.fillPaintTransformer,that.fillPaintTransformer) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    12
    if (!ObjectUtilities.equal(this.fillPaintTransformer, that.fillPaintTransformer))
    15
    return false;
    13
    return false;
    16
    if (!ObjectUtilities.equal(this.title, that.title))
    16
    if (!ObjectUtilities.equal(this.title, that.title))
    30
    if (!ObjectUtilities.equal(this.lineStroke, that.lineStroke))
    Differences
    Expression1Expression2Difference
    titlelineStrokeVARIABLE_NAME_MISMATCH
    org.jfree.chart.title.TextTitlejava.awt.StrokeVARIABLE_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    titlelineStrokeVARIABLE_NAME_MISMATCH
    org.jfree.chart.title.TextTitlejava.awt.StrokeVARIABLE_TYPE_MISMATCH
    Preondition Violations
    Type org.jfree.chart.title.TextTitle of variable this.title does not match with type java.awt.Stroke of variable this.lineStroke
    • Make classes org.jfree.chart.title.TextTitle and java.awt.Stroke extend a common superclass
    Expression that.title cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.lineStroke cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Type org.jfree.chart.title.TextTitle of variable that.title does not match with type java.awt.Stroke of variable that.lineStroke
    • Make classes org.jfree.chart.title.TextTitle and java.awt.Stroke extend a common superclass
    30
    if (!ObjectUtilities.equal(this.lineStroke, that.lineStroke))
    17
    return false;
    31
    return false;
    18
    if (!ObjectUtilities.equal(this.subtitles, that.subtitles))
    18
    if (!ObjectUtilities.equal(this.subtitles, that.subtitles))
    16
    if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint))
    Differences
    Expression1Expression2Difference
    subtitlesoutlinePaintVARIABLE_NAME_MISMATCH
    java.util.Listjava.awt.PaintVARIABLE_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    subtitlesoutlinePaintVARIABLE_NAME_MISMATCH
    java.util.Listjava.awt.PaintVARIABLE_TYPE_MISMATCH
    org.jfree.util.ObjectUtilitiesorg.jfree.util.PaintUtilitiesVARIABLE_TYPE_MISMATCH
    Preondition Violations
    Type java.util.List of variable this.subtitles does not match with type java.awt.Paint of variable this.outlinePaint
    • Make classes java.util.List and java.awt.Paint extend a common superclass
    Expression that.subtitles cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.outlinePaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Type java.util.List of variable that.subtitles does not match with type java.awt.Paint of variable that.outlinePaint
    • Make classes java.util.List and java.awt.Paint extend a common superclass
    Type org.jfree.util.ObjectUtilities does not match with type org.jfree.util.PaintUtilities
    • Make classes org.jfree.util.ObjectUtilities and org.jfree.util.PaintUtilities extend a common superclass
    16
    if (!PaintUtilities.equal(this.outlinePaint, that.outlinePaint))
    19
    return false;
    17
    return false;
                                                                                            
    20
    if (this.shapeAnchor != that.shapeAnchor)
    Preondition Violations
    Unmatched statement if(this.shapeAnchor != that.shapeAnchor) cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    20
    if (this.shapeAnchor != that.shapeAnchor)
                                      
    21
    return false;
    Preondition Violations
    Unmatched return false;
    21
    return false;
    20
    if (!ObjectUtilities.equal(this.plot, that.plot))
    20
    if (!ObjectUtilities.equal(this.plot, that.plot))
    26
    if (!ShapeUtilities.equal(this.line, that.line))
    Differences
    Expression1Expression2Difference
    plotlineVARIABLE_NAME_MISMATCH
    org.jfree.chart.plot.Plotjava.awt.ShapeVARIABLE_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    plotlineVARIABLE_NAME_MISMATCH
    org.jfree.chart.plot.Plotjava.awt.ShapeVARIABLE_TYPE_MISMATCH
    org.jfree.util.ObjectUtilitiesorg.jfree.util.ShapeUtilitiesVARIABLE_TYPE_MISMATCH
    Preondition Violations
    Type org.jfree.chart.plot.Plot of variable this.plot does not match with type java.awt.Shape of variable this.line
    • Make classes org.jfree.chart.plot.Plot and java.awt.Shape extend a common superclass
    Expression that.plot cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.line cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Type org.jfree.chart.plot.Plot of variable that.plot does not match with type java.awt.Shape of variable that.line
    • Make classes org.jfree.chart.plot.Plot and java.awt.Shape extend a common superclass
    Type org.jfree.util.ObjectUtilities does not match with type org.jfree.util.ShapeUtilities
    • Make classes org.jfree.util.ObjectUtilities and org.jfree.util.ShapeUtilities extend a common superclass
    26
    if (!ShapeUtilities.equal(this.line, that.line))
    21
    return false;
    27
    return false;
    22
    if (!PaintUtilities.equal(this.backgroundPaint, that.backgroundPaint))
    22
    if (!PaintUtilities.equal(this.backgroundPaint, that.backgroundPaint))
    28
    if (!PaintUtilities.equal(this.linePaint, that.linePaint))
    Differences
    Expression1Expression2Difference
    backgroundPaintlinePaintVARIABLE_NAME_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    backgroundPaintlinePaintVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression that.backgroundPaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.linePaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    28
    if (!PaintUtilities.equal(this.linePaint, that.linePaint))
    23
    return false;
    29
    return false;
    24
    if (!ObjectUtilities.equal(this.backgroundImage, that.backgroundImage))
    24
    if (!ObjectUtilities.equal(this.backgroundImage, that.backgroundImage))
    Preondition Violations
    Unmatched statement if(!ObjectUtilities.equal(this.backgroundImage,that.backgroundImage)) cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
                                                                                                                                                      
    25
    return false;
    25
    return false;
    Preondition Violations
    Unmatched return false;
                                      
    26
    if (this.backgroundImageAlignment != that.backgroundImageAlignment)
    26
    if (this.backgroundImageAlignment != that.backgroundImageAlignment)
    24
    if (this.lineVisible != that.lineVisible)
    Differences
    Expression1Expression2Difference
    backgroundImageAlignmentlineVisibleVARIABLE_NAME_MISMATCH
    intbooleanVARIABLE_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    backgroundImageAlignmentlineVisibleVARIABLE_NAME_MISMATCH
    intbooleanVARIABLE_TYPE_MISMATCH
    Preondition Violations
    Type int of variable this.backgroundImageAlignment does not match with type boolean of variable this.lineVisible
    Expression that.backgroundImageAlignment cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.lineVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Type int of variable that.backgroundImageAlignment does not match with type boolean of variable that.lineVisible
    24
    if (this.lineVisible != that.lineVisible)
    27
    return false;
    25
    return false;
    28
    if (this.backgroundImageAlpha != that.backgroundImageAlpha)
    28
    if (this.backgroundImageAlpha != that.backgroundImageAlpha)
    22
    if (this.shapeLocation != that.shapeLocation)
    Differences
    Expression1Expression2Difference
    backgroundImageAlphashapeLocationVARIABLE_NAME_MISMATCH
    floatorg.jfree.ui.RectangleAnchorVARIABLE_TYPE_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    backgroundImageAlphashapeLocationVARIABLE_NAME_MISMATCH
    floatorg.jfree.ui.RectangleAnchorVARIABLE_TYPE_MISMATCH
    Preondition Violations
    Type float of variable this.backgroundImageAlpha does not match with type org.jfree.ui.RectangleAnchor of variable this.shapeLocation
    Expression that.backgroundImageAlpha cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.shapeLocation cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Type float of variable that.backgroundImageAlpha does not match with type org.jfree.ui.RectangleAnchor of variable that.shapeLocation
    22
    if (this.shapeLocation != that.shapeLocation)
    29
    return false;
    23
    return false;
    30
    if (this.notify != that.notify)
    30
    if (this.notify != that.notify)
    14
    if (this.shapeOutlineVisible != that.shapeOutlineVisible)
    Differences
    Expression1Expression2Difference
    notifyshapeOutlineVisibleVARIABLE_NAME_MISMATCH
    org.jfree.chart.JFreeChartorg.jfree.chart.title.LegendGraphicSUBCLASS_TYPE_MISMATCH
    notifyshapeOutlineVisibleVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression that.notify cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression that.shapeOutlineVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    14
    if (this.shapeOutlineVisible != that.shapeOutlineVisible)
    31
    return false;
    15
    return false;
    Precondition Violations (44)
    Row Violation
    1Expression this.renderingHints.equals(that.renderingHints) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2Expression ShapeUtilities.equal(this.shape,that.shape) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    3Expression that.borderVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    4Expression that.shapeVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    5Unmatched statement if(this.shapeFilled != that.shapeFilled) cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    6Unmatched return false;
    7Expression that.borderStroke cannot be parameterized, because it has dependencies to/from statements that will be extracted
    8Expression that.outlineStroke cannot be parameterized, because it has dependencies to/from statements that will be extracted
    9Expression that.borderPaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    10Expression that.fillPaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    11Expression this.padding.equals(that.padding) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    12Expression ObjectUtilities.equal(this.fillPaintTransformer,that.fillPaintTransformer) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    13Type org.jfree.chart.title.TextTitle of variable this.title does not match with type java.awt.Stroke of variable this.lineStroke
    14Expression that.title cannot be parameterized, because it has dependencies to/from statements that will be extracted
    15Expression that.lineStroke cannot be parameterized, because it has dependencies to/from statements that will be extracted
    16Type org.jfree.chart.title.TextTitle of variable that.title does not match with type java.awt.Stroke of variable that.lineStroke
    17Type java.util.List of variable this.subtitles does not match with type java.awt.Paint of variable this.outlinePaint
    18Expression that.subtitles cannot be parameterized, because it has dependencies to/from statements that will be extracted
    19Expression that.outlinePaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    20Type java.util.List of variable that.subtitles does not match with type java.awt.Paint of variable that.outlinePaint
    21Type org.jfree.util.ObjectUtilities does not match with type org.jfree.util.PaintUtilities
    22Unmatched statement if(this.shapeAnchor != that.shapeAnchor) cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    23Unmatched return false;
    24Type org.jfree.chart.plot.Plot of variable this.plot does not match with type java.awt.Shape of variable this.line
    25Expression that.plot cannot be parameterized, because it has dependencies to/from statements that will be extracted
    26Expression that.line cannot be parameterized, because it has dependencies to/from statements that will be extracted
    27Type org.jfree.chart.plot.Plot of variable that.plot does not match with type java.awt.Shape of variable that.line
    28Type org.jfree.util.ObjectUtilities does not match with type org.jfree.util.ShapeUtilities
    29Expression that.backgroundPaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    30Expression that.linePaint cannot be parameterized, because it has dependencies to/from statements that will be extracted
    31Unmatched statement if(!ObjectUtilities.equal(this.backgroundImage,that.backgroundImage)) cannot be moved before or after the extracted code, because it has dependencies to/from statements that will be extracted
    32Unmatched return false;
    33Type int of variable this.backgroundImageAlignment does not match with type boolean of variable this.lineVisible
    34Expression that.backgroundImageAlignment cannot be parameterized, because it has dependencies to/from statements that will be extracted
    35Expression that.lineVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    36Type int of variable that.backgroundImageAlignment does not match with type boolean of variable that.lineVisible
    37Type float of variable this.backgroundImageAlpha does not match with type org.jfree.ui.RectangleAnchor of variable this.shapeLocation
    38Expression that.backgroundImageAlpha cannot be parameterized, because it has dependencies to/from statements that will be extracted
    39Expression that.shapeLocation cannot be parameterized, because it has dependencies to/from statements that will be extracted
    40Type float of variable that.backgroundImageAlpha does not match with type org.jfree.ui.RectangleAnchor of variable that.shapeLocation
    41Expression that.notify cannot be parameterized, because it has dependencies to/from statements that will be extracted
    42Expression that.shapeOutlineVisible cannot be parameterized, because it has dependencies to/from statements that will be extracted
    43Clone fragment #1 returns variable that with type org.jfree.chart.JFreeChart , while Clone fragment #2 returns variable that with type org.jfree.chart.title.LegendGraphic
    44Not all possible execution flows end in a return statement