Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.954 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 73 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java |
2 | 8 | 62 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java |
| ||||
private final IWorkbenchSite fSite; private final List fSelectedElements; //IJavaProject || IPackageFrament || IFolder public AddFolderToBuildpathAction(IWorkbenchSite site) { super(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_label, JavaPluginImages.DESC_OBJS_PACKFRAG_ROOT); setToolTipText(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_tooltip); fSite = site; fSelectedElements = new ArrayList(); } |
| ||||
private final IWorkbenchSite fSite; private List fSelectedElements; //IPackageFramgentRoot || IJavaProject || ClassPathContainer iff isEnabled() public RemoveFromBuildpathAction(IWorkbenchSite site) { super(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_label, JavaPluginImages.DESC_ELCL_REMOVE_FROM_BP); setToolTipText(NewWizardMessages.NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_tooltip); fSite = site; fSelectedElements = new ArrayList(); } |
| |||
private final IWorkbenchSite fSite; [[#variable9229bbc0]]List fSelectedElements; //IPackageFramgentRoot || IJavaProject || ClassPathContainer iff isEnabled() //IJavaProject || IPackageFrament || IFolder public [[#variable9229bb40]](IWorkbenchSite site) { super(NewWizardMessages. [[#variable9229ba00]], JavaPluginImages. [[#variable9229ba40]]); setToolTipText(NewWizardMessages. [[#variable9229ba60]]); fSite = site; fSelectedElements = new ArrayList(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9229bbc0]] | private |
1 | 2 | [[#9229bbc0]] | private final |
2 | 1 | [[#9229bb40]] | RemoveFromBuildpathAction |
2 | 2 | [[#9229bb40]] | AddFolderToBuildpathAction |
3 | 1 | [[#9229ba00]] | NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_label |
3 | 2 | [[#9229ba00]] | NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_label |
4 | 1 | [[#9229ba40]] | DESC_ELCL_REMOVE_FROM_BP |
4 | 2 | [[#9229ba40]] | DESC_OBJS_PACKFRAG_ROOT |
5 | 1 | [[#9229ba60]] | NewSourceContainerWorkbookPage_ToolBar_RemoveFromCP_tooltip |
5 | 2 | [[#9229ba60]] | NewSourceContainerWorkbookPage_ToolBar_AddSelSFToCP_tooltip |