| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.969 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 90 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FindOccurrencesInFileAction.java |
| 2 | 4 | 181 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OrganizeImportsAction.java |
| ||||
/**
* Note: This constructor is for internal use only. Clients should not call this constructor.
* @param editor the Java editor
*/
public FindOccurrencesInFileAction(JavaEditor editor) {
this(editor.getEditorSite());
fEditor = editor;
setEnabled(getEditorInput(editor) != null);
}
|
| ||||
/**
* Note: This constructor is for internal use only. Clients should not call this constructor.
* @param editor the Java editor
*/
public OrganizeImportsAction(JavaEditor editor) {
this(editor.getEditorSite());
fEditor = editor;
setEnabled(getCompilationUnit(fEditor) != null);
}
|
| |||
/**
* Note: This constructor is for internal use only. Clients should not call this constructor.
* @param editor the Java editor
*/
public [[#variable59150b20]](JavaEditor editor) {
this(editor.getEditorSite());
fEditor = editor;
setEnabled( [[#variable59150a80]]( [[#variable59150a00]]) != null);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#59150b20]] | OrganizeImportsAction |
| 1 | 2 | [[#59150b20]] | FindOccurrencesInFileAction |
| 2 | 1 | [[#59150a80]] | getCompilationUnit |
| 2 | 2 | [[#59150a80]] | getEditorInput |
| 3 | 1 | [[#59150a00]] | fEditor |
| 3 | 2 | [[#59150a00]] | editor |