Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.974 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 2542 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java |
2 | 2 | 2545 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java |
3 | 2 | 2548 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java |
| ||||
// replace cut/copy paste actions with a version that implement 'add imports on paste' action = new ClipboardOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "Editor.Cut.", this, ITextOperationTarget.CUT); //$NON-NLS-1$ setAction(ITextEditorActionConstants.CUT, action); |
| ||||
action = new ClipboardOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "Editor.Copy.", this, ITextOperationTarget.COPY); //$NON-NLS-1$ setAction(ITextEditorActionConstants.COPY, action); |
| ||||
action = new ClipboardOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), "Editor.Paste.", this, ITextOperationTarget.PASTE); //$NON-NLS-1$ setAction(ITextEditorActionConstants.PASTE, action); |
| |||
// replace cut/copy paste actions with a version that implement 'add imports on paste' action = new ClipboardOperationAction(JavaEditorMessages.getBundleForConstructedKeys(), [[#variablea4e65de0]], this, ITextOperationTarget. [[#variable9e6ec440]]); //$NON-NLS-1$ setAction(ITextEditorActionConstants. [[#variable9e6ec440]], action); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4e65de0]] | "Editor.Cut." |
1 | 2 | [[#a4e65de0]] | "Editor.Copy." |
1 | 3 | [[#a4e65de0]] | "Editor.Paste." |
2 | 1 | [[#9e6ec440]] | CUT |
2 | 2 | [[#9e6ec440]] | COPY |
2 | 3 | [[#9e6ec440]] | PASTE |