CloneSet4356


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16516
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java
24200
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java
Clone Instance
1
Line Count
6
Source Line
516
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java

                        if (fImportRewriter.hasRecordedChanges()) {
                                TextEdit edit = fImportRewriter.rewriteImports(null);
                                root.addChild(edit);
                                result.addTextEditGroup(new TextEditGroup(
                                        RefactoringCoreMessages.ExtractMethodRefactoring_organize_imports, 
                                        new TextEdit[] {
                                                        edit
                                                       }                 ));
                        }


Clone Instance
2
Line Count
4
Source Line
200
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithTryCatchRefactoring.java

                        if (fImportRewrite.hasRecordedChanges()) {
                                TextEdit edit = fImportRewrite.rewriteImports(null);
                                root.addChild(edit);
                                result.addTextEditGroup(new TextEditGroup(NN, new TextEdit[] {
                                                                                              edit
                                                                                             } ));
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable597f5400]].hasRecordedChanges()) {
  TextEdit edit = [[#variable597f5400]].rewriteImports(null);
  root.addChild(edit);
  result.addTextEditGroup(new TextEditGroup( [[#variable597f5380]], new TextEdit[] {
                                                                                     edit
                                                                                   } ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#597f5400]]
fImportRewrite 
12[[#597f5400]]
fImportRewriter 
21[[#597f5380]]
NN 
22[[#597f5380]]
RefactoringCoreMessages.ExtractMethodRefactoring_organize_imports