CloneSet5463


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4330.954type_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1425
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureDiffViewerCreator.java
2428
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesFileMergeViewerCreator.java
3427
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/TextMergeViewerCreator.java
Clone Instance
1
Line Count
4
Source Line
25
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureDiffViewerCreator.java

/**
 * A factory object for the <code>JavaStructureDiffViewer</code>.
 * This indirection is necessary because only objects with a default
 * constructor can be created via an extension point
 * (this precludes Viewers).
 */
public class JavaStructureDiffViewerCreator implements IViewerCreator {

        public Viewer createViewer(Composite parent, CompareConfiguration cc) {
                return new JavaStructureDiffViewer(parent, cc);
        }
}




Clone Instance
2
Line Count
4
Source Line
28
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesFileMergeViewerCreator.java

/**
 * A factory object for the {@link org.eclipse.jdt.internal.ui.compare.PropertiesFileMergeViewer}.
 * This indirection is necessary because only objects with a default
 * constructor can be created via an extension point
 * (this precludes Viewers).
 * 
 * @since 3.1
 */
public class PropertiesFileMergeViewerCreator implements IViewerCreator {

        public Viewer createViewer(Composite parent, CompareConfiguration mp) {
                return new PropertiesFileMergeViewer(parent, mp);
        }
}




Clone Instance
3
Line Count
4
Source Line
27
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/TextMergeViewerCreator.java

/**
 * A factory object for the <code>TextMergeViewer</code>.
 * This indirection is necessary because only objects with a default
 * constructor can be created via an extension point
 * (this precludes Viewers).
 */
public class TextMergeViewerCreator implements IViewerCreator {

        public Viewer createViewer(Composite parent, CompareConfiguration mp) {
                return new TextMergeViewer(parent, mp);
        }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * A factory object for the <code>TextMergeViewer</code>.
 * This indirection is necessary because only objects with a default
 * constructor can be created via an extension point
 * (this precludes Viewers).
 */
/**
 * A factory object for the {@link org.eclipse.jdt.internal.ui.compare.PropertiesFileMergeViewer}.
 * This indirection is necessary because only objects with a default
 * constructor can be created via an extension point
 * (this precludes Viewers).
 * 
 * @since 3.1
 */
/**
 * A factory object for the <code>JavaStructureDiffViewer</code>.
 * This indirection is necessary because only objects with a default
 * constructor can be created via an extension point
 * (this precludes Viewers).
 */
public class [[#variablea1291700]]implements IViewerCreator {
  public Viewer createViewer(Composite parent, CompareConfiguration  [[#variablea1290f20]]) {
    return new [[#variablea1291720]](parent,  [[#variablea1290f20]]);
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1291700]]
TextMergeViewerCreator 
12[[#a1291700]]
PropertiesFileMergeViewerCreator 
13[[#a1291700]]
JavaStructureDiffViewerCreator 
21[[#a1290f20]]
mp 
22[[#a1290f20]]
mp 
23[[#a1290f20]]
cc 
31[[#a1291720]]
TextMergeViewer 
32[[#a1291720]]
PropertiesFileMergeViewer 
33[[#a1291720]]
JavaStructureDiffViewer