| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 3 | 2 | 0.974 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 158 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java |
| 2 | 4 | 139 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java |
| 3 | 4 | 145 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java |
| ||||
{
if ( !ActionUtil.isProcessable(getShell(), unit))
return;
RefactoringExecutionStarter.startConvertAnonymousRefactoring(unit, offset, length, getShell());
}
|
| ||||
{
if ( !ActionUtil.isProcessable(getShell(), unit))
return;
RefactoringExecutionStarter.startIntroduceIndirectionRefactoring(unit, offset, length, getShell());
}
|
| ||||
{
if ( !ActionUtil.isProcessable(getShell(), file))
return;
RefactoringExecutionStarter.startIntroduceIndirectionRefactoring(file, offset, length, getShell());
}
|
| |||
{
if ( !ActionUtil.isProcessable(getShell(), [[#variable6138a3a0]]))
return;
RefactoringExecutionStarter. [[#variable6138a440]]( [[#variable6138a3a0]], offset, length, getShell());
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#6138a3a0]] | unit |
| 1 | 2 | [[#6138a3a0]] | file |
| 1 | 3 | [[#6138a3a0]] | unit |
| 2 | 1 | [[#6138a440]] | startIntroduceIndirectionRefactoring |
| 2 | 2 | [[#6138a440]] | startIntroduceIndirectionRefactoring |
| 2 | 3 | [[#6138a440]] | startConvertAnonymousRefactoring |