Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.961 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 100 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateMethodOperation.java |
2 | 5 | 109 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateTypeOperation.java |
| ||||
protected SimpleName rename(ASTNode node, SimpleName newName) { MethodDeclaration method = (MethodDeclaration) node; SimpleName oldName = method.getName(); method.setName(newName); return oldName; } |
| ||||
protected SimpleName rename(ASTNode node, SimpleName newName) { AbstractTypeDeclaration type = (AbstractTypeDeclaration) node; SimpleName oldName = type.getName(); type.setName(newName); return oldName; } |
| |||
protected SimpleName rename(ASTNode node, SimpleName newName) { [[#variable9ce58d20]] [[#variable9ce58ca0]]= ( [[#variable9ce58d20]]) node; SimpleName oldName = [[#variable9ce58ca0]].getName(); [[#variable9ce58ca0]].setName(newName); return oldName; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9ce58d20]] | AbstractTypeDeclaration |
1 | 2 | [[#9ce58d20]] | MethodDeclaration |
2 | 1 | [[#9ce58ca0]] | type |
2 | 2 | [[#9ce58ca0]] | method |