Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.966 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 498 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
2 | 3 | 502 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
| ||||
description = new TextEditGroup(RefactoringCoreMessages.SelfEncapsulateField_add_setter); result.add(description); rewrite.insertAt(createSetterMethod(ast, rewriter, lineDelimiter), position++ , description); |
| ||||
description = new TextEditGroup(RefactoringCoreMessages.SelfEncapsulateField_add_getter); result.add(description); rewrite.insertAt(createGetterMethod(ast, rewriter, lineDelimiter), position, description); |
| |||
description = new TextEditGroup(RefactoringCoreMessages. [[#variable7734cf20]]); result.add(description); rewrite.insertAt( [[#variable7734d0c0]](ast, rewriter, lineDelimiter), [[#variable7734cf80]], description); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7734cf20]] | SelfEncapsulateField_add_setter |
1 | 2 | [[#7734cf20]] | SelfEncapsulateField_add_getter |
2 | 1 | [[#7734d0c0]] | createSetterMethod |
2 | 2 | [[#7734d0c0]] | createGetterMethod |
3 | 1 | [[#7734cf80]] | position++ |
3 | 2 | [[#7734cf80]] | position |