Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.969 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 64 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java |
2 | 5 | 61 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java |
| ||||
/** * Creates a new <code>AddToClasspathAction</code>. The action requires that * the selection provided by the site's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ public AddToClasspathAction(IWorkbenchSite site) { super(site); setText(ActionMessages.AddToClasspathAction_label); setToolTipText(ActionMessages.AddToClasspathAction_toolTip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.ADD_TO_CLASSPATH_ACTION); } |
| ||||
/** * Creates a new <code>RemoveFromClasspathAction</code>. The action requires * that the selection provided by the site's selection provider is of type * <code> org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ public RemoveFromClasspathAction(IWorkbenchSite site) { super(site); setText(ActionMessages.RemoveFromClasspathAction_Remove); setToolTipText(ActionMessages.RemoveFromClasspathAction_tooltip); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.REMOVE_FROM_CLASSPATH_ACTION); } |
| |||
/** * Creates a new <code>RemoveFromClasspathAction</code>. The action requires * that the selection provided by the site's selection provider is of type * <code> org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ /** * Creates a new <code>AddToClasspathAction</code>. The action requires that * the selection provided by the site's selection provider is of type <code> * org.eclipse.jface.viewers.IStructuredSelection</code>. * * @param site the site providing context information for this action */ public [[#variablea1bb5ba0]](IWorkbenchSite site) { super(site); setText(ActionMessages. [[#variablea1bb5b00]]); setToolTipText(ActionMessages. [[#variablea1bb5a60]]); PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variablea1bb5a00]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1bb5ba0]] | RemoveFromClasspathAction |
1 | 2 | [[#a1bb5ba0]] | AddToClasspathAction |
2 | 1 | [[#a1bb5b00]] | RemoveFromClasspathAction_Remove |
2 | 2 | [[#a1bb5b00]] | AddToClasspathAction_label |
3 | 1 | [[#a1bb5a60]] | RemoveFromClasspathAction_tooltip |
3 | 2 | [[#a1bb5a60]] | AddToClasspathAction_toolTip |
4 | 1 | [[#a1bb5a00]] | REMOVE_FROM_CLASSPATH_ACTION |
4 | 2 | [[#a1bb5a00]] | ADD_TO_CLASSPATH_ACTION |