Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.954 | type_declarations |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 25 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureDiffViewerCreator.java |
2 | 4 | 28 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesFileMergeViewerCreator.java |
3 | 4 | 27 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/TextMergeViewerCreator.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); } } |
| ||||
/** * 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); } } |
| ||||
/** * 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); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1291700]] | TextMergeViewerCreator |
1 | 2 | [[#a1291700]] | PropertiesFileMergeViewerCreator |
1 | 3 | [[#a1291700]] | JavaStructureDiffViewerCreator |
2 | 1 | [[#a1290f20]] | mp |
2 | 2 | [[#a1290f20]] | mp |
2 | 3 | [[#a1290f20]] | cc |
3 | 1 | [[#a1291720]] | TextMergeViewer |
3 | 2 | [[#a1291720]] | PropertiesFileMergeViewer |
3 | 3 | [[#a1291720]] | JavaStructureDiffViewer |