Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 73 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ToggleMarkOccurrencesAction.java |
2 | 12 | 79 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ToggleTextHoverAction.java |
| ||||
/* * @see TextEditorAction#setEditor(ITextEditor) */ public void setEditor(ITextEditor editor) { super.setEditor(editor); if (editor != null) { if (fStore == null) { fStore = JavaPlugin.getDefault().getPreferenceStore(); fStore.addPropertyChangeListener(this ); } } else if (fStore != null) { fStore.removePropertyChangeListener(this ); fStore = null; } update(); } |
| ||||
/* * @see TextEditorAction#setEditor(ITextEditor) */ public void setEditor(ITextEditor editor) { super.setEditor(editor); if (editor != null) { if (fStore == null) { fStore = JavaPlugin.getDefault().getPreferenceStore(); fStore.addPropertyChangeListener(this ); } } else if (fStore != null) { fStore.removePropertyChangeListener(this ); fStore = null; } update(); } |
| |||
/* * @see TextEditorAction#setEditor(ITextEditor) */ public void setEditor(ITextEditor editor) { super.setEditor(editor); if (editor != null) { if (fStore == null) { fStore = JavaPlugin.getDefault().getPreferenceStore(); fStore.addPropertyChangeListener(this ); } } else if (fStore != null) { fStore.removePropertyChangeListener(this ); fStore = null; } update(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |