| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.957 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 865 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
| 2 | 5 | 916 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
| ||||
for (int j = 0; j < bounds.length; j++)
if ( !"java.lang.Object".equals(bounds[j].getQualifiedName())) //$NON-NLS-1$
ntp.typeBounds().add(imRewrite.getImportRewrite().addImport(bounds[j], imRewrite.getAST()));
newTypeParameters.add(ntp);
|
| ||||
for (int j = 0; j < bounds.length; j++)
if ( !"java.lang.Object".equals(bounds[j].getQualifiedName())) //$NON-NLS-1$
parameter.typeBounds().add(rew.getImportRewrite().addImport(bounds[j], rew.getAST()));
intermediary.typeParameters().add(parameter);
|
| |||
for (int j = 0; j < bounds.length; j++)
if ( !"java.lang.Object".equals(bounds[j].getQualifiedName())) //$NON-NLS-1$
[[#variable50c2cf60]].typeBounds().add( [[#variable50c2cfc0]].getImportRewrite().addImport(bounds[j], [[#variable50c2cfc0]].getAST()));
[[#variable50c2cf40]].add( [[#variable50c2cf60]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#50c2cf60]] | ntp |
| 1 | 2 | [[#50c2cf60]] | parameter |
| 2 | 1 | [[#50c2cfc0]] | imRewrite |
| 2 | 2 | [[#50c2cfc0]] | rew |
| 3 | 1 | [[#50c2cf40]] | newTypeParameters |
| 3 | 2 | [[#50c2cf40]] | intermediary.typeParameters() |