| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 3 | 0.963 | class_body_declarations[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 39 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ParameterData.java |
| 2 | 6 | 235 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java |
| ||||
public String getName() {
return fDeclaration.getName().getIdentifier();
}
public ITypeBinding getTypeBinding() {
return fDeclaration.resolveBinding().getType();
}
|
| ||||
public String getMethodName() {
return fDeclaration.getName().getIdentifier();
}
public ITypeBinding getReturnType() {
return fDeclaration.resolveBinding().getReturnType();
}
|
| |||
public String [[#variablebef2cd60]]() {
return fDeclaration.getName().getIdentifier();
}
public ITypeBinding [[#variablebef2ce20]]() {
return fDeclaration.resolveBinding(). [[#variablebef2c320]]();
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bef2cd60]] | getName |
| 1 | 2 | [[#bef2cd60]] | getMethodName |
| 2 | 1 | [[#bef2ce20]] | getTypeBinding |
| 2 | 2 | [[#bef2ce20]] | getReturnType |
| 3 | 1 | [[#bef2c320]] | getType |
| 3 | 2 | [[#bef2c320]] | getReturnType |