| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 3 | 5 | 0.967 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 76 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java |
| 2 | 6 | 70 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceFactoryAction.java |
| 3 | 6 | 70 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java |
| ||||
/**
* Creates a new <code>ChangeTypeAction</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 ChangeTypeAction(IWorkbenchSite site) {
super(site);
setText(RefactoringMessages.ChangeTypeAction_label);
setToolTipText(RefactoringMessages.ChangeTypeAction_tooltipText);
setDescription(RefactoringMessages.ChangeTypeAction_description);
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.CHANGE_TYPE_ACTION);
}
|
| ||||
/**
* Creates a new <code>IntroduceFactoryAction</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 IntroduceFactoryAction(IWorkbenchSite site) {
super(site);
setText(RefactoringMessages.IntroduceFactoryAction_label);
setToolTipText(RefactoringMessages.IntroduceFactoryAction_tooltipText);
setDescription(RefactoringMessages.IntroduceFactoryAction_description);
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.INTRODUCE_FACTORY_ACTION);
}
|
| ||||
/**
* Creates a new <code>IntroduceIndirectionAction</code>.
*
* @param site the site providing context information for this action
*/
public IntroduceIndirectionAction(IWorkbenchSite site) {
super(site);
setText(RefactoringMessages.IntroduceIndirectionAction_title);
setToolTipText(RefactoringMessages.IntroduceIndirectionAction_tooltip);
setDescription(RefactoringMessages.IntroduceIndirectionAction_description);
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.INTRODUCE_INDIRECTION_ACTION);
}
|
| |||
/**
* Creates a new <code>IntroduceIndirectionAction</code>.
*
* @param site the site providing context information for this action
*/
/**
* Creates a new <code>IntroduceFactoryAction</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>ChangeTypeAction</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 [[#variable58e68060]](IWorkbenchSite site) {
super(site);
setText(RefactoringMessages. [[#variable58e68000]]);
setToolTipText(RefactoringMessages. [[#variable56f83fa0]]);
setDescription(RefactoringMessages. [[#variable56f83f40]]);
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable56f83e80]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#58e68060]] | IntroduceIndirectionAction |
| 1 | 2 | [[#58e68060]] | IntroduceFactoryAction |
| 1 | 3 | [[#58e68060]] | ChangeTypeAction |
| 2 | 1 | [[#58e68000]] | IntroduceIndirectionAction_title |
| 2 | 2 | [[#58e68000]] | IntroduceFactoryAction_label |
| 2 | 3 | [[#58e68000]] | ChangeTypeAction_label |
| 3 | 1 | [[#56f83fa0]] | IntroduceIndirectionAction_tooltip |
| 3 | 2 | [[#56f83fa0]] | IntroduceFactoryAction_tooltipText |
| 3 | 3 | [[#56f83fa0]] | ChangeTypeAction_tooltipText |
| 4 | 1 | [[#56f83f40]] | IntroduceIndirectionAction_description |
| 4 | 2 | [[#56f83f40]] | IntroduceFactoryAction_description |
| 4 | 3 | [[#56f83f40]] | ChangeTypeAction_description |
| 5 | 1 | [[#56f83e80]] | INTRODUCE_INDIRECTION_ACTION |
| 5 | 2 | [[#56f83e80]] | INTRODUCE_FACTORY_ACTION |
| 5 | 3 | [[#56f83e80]] | CHANGE_TYPE_ACTION |