CloneSet4789


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.966statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13498
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
23502
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
Clone Instance
1
Line Count
3
Source Line
498
Source File
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);


Clone Instance
2
Line Count
3
Source Line
502
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java

                description = new TextEditGroup(RefactoringCoreMessages.SelfEncapsulateField_add_getter);
                result.add(description);
                rewrite.insertAt(createGetterMethod(ast, rewriter, lineDelimiter), position, description);


Clone AbstractionParameter Count: 3Parameter Bindings

description = new TextEditGroup(RefactoringCoreMessages. [[#variable7734cf20]]);
result.add(description);
rewrite.insertAt( [[#variable7734d0c0]](ast, rewriter, lineDelimiter),  [[#variable7734cf80]], description);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7734cf20]]
SelfEncapsulateField_add_setter 
12[[#7734cf20]]
SelfEncapsulateField_add_getter 
21[[#7734d0c0]]
createSetterMethod 
22[[#7734d0c0]]
createGetterMethod 
31[[#7734cf80]]
position++ 
32[[#7734cf80]]
position