Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.974 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 336 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMethodPage.java |
2 | 6 | 515 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameTypeWizardSimilarElementsPage.java |
| ||||
final IPreferenceStore store = JavaPlugin.getDefault().getCombinedPreferenceStore(); fSourceViewer = new JavaSourceViewer(c, null, null, false, SWT.V_SCROLL| SWT.H_SCROLL| SWT.MULTI| SWT.BORDER| SWT.FULL_SELECTION, store); fSourceViewer.configure(new JavaSourceViewerConfiguration(JavaPlugin.getDefault().getJavaTextTools().getColorManager(), store, null, null)); fSourceViewer.setEditable(false); fSourceViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); fSourceViewer.getControl().setFont(JFaceResources.getFont(PreferenceConstants.EDITOR_TEXT_FONT)); |
| ||||
IPreferenceStore store = JavaPlugin.getDefault().getCombinedPreferenceStore(); fSourceViewer = new JavaSourceViewer(c, null, null, false, SWT.V_SCROLL| SWT.H_SCROLL| SWT.MULTI| SWT.BORDER| SWT.FULL_SELECTION, store); fSourceViewer.configure(new JavaSourceViewerConfiguration(getJavaTextTools().getColorManager(), store, null, null)); fSourceViewer.setEditable(false); fSourceViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); fSourceViewer.getControl().setFont(JFaceResources.getFont(PreferenceConstants.EDITOR_TEXT_FONT)); |
| |||
[[#variablebbf65160]]IPreferenceStore store = JavaPlugin.getDefault().getCombinedPreferenceStore(); fSourceViewer = new JavaSourceViewer(c, null, null, false, SWT.V_SCROLL|SWT.H_SCROLL|SWT.MULTI|SWT.BORDER|SWT.FULL_SELECTION, store); fSourceViewer.configure(new JavaSourceViewerConfiguration( [[#variable95b0be20]].getColorManager(), store, null, null)); fSourceViewer.setEditable(false); fSourceViewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); fSourceViewer.getControl().setFont(JFaceResources.getFont(PreferenceConstants.EDITOR_TEXT_FONT)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bbf65160]] | final |
1 | 2 | [[#bbf65160]] | |
2 | 1 | [[#95b0be20]] | JavaPlugin.getDefault().getJavaTextTools() |
2 | 2 | [[#95b0be20]] | getJavaTextTools() |