Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 5 | 0.961 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 549 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
2 | 5 | 584 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
| ||||
param.setType((Type) rewriter.createCopyTarget(type)); Block block = ast.newBlock(); result.setBody(block); Assignment ass = ast.newAssignment(); |
| ||||
result.setReturnType2((Type) rewriter.createCopyTarget(type)); Block block = ast.newBlock(); result.setBody(block); ReturnStatement rs = ast.newReturnStatement(); |
| |||
[[#variable98f3eea0]]. [[#variable98f3e460]]((Type) rewriter.createCopyTarget(type)); Block block = ast.newBlock(); result.setBody(block); [[#variable98f3e2e0]] [[#variable98f3e320]]= ast. [[#variable98f3ed80]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#98f3eea0]] | result |
1 | 2 | [[#98f3eea0]] | param |
2 | 1 | [[#98f3e460]] | setReturnType2 |
2 | 2 | [[#98f3e460]] | setType |
3 | 1 | [[#98f3e2e0]] | ReturnStatement |
3 | 2 | [[#98f3e2e0]] | Assignment |
4 | 1 | [[#98f3e320]] | rs |
4 | 2 | [[#98f3e320]] | ass |
5 | 1 | [[#98f3ed80]] | newReturnStatement |
5 | 2 | [[#98f3ed80]] | newAssignment |