CloneSet5543


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.992executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1497
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java
24189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaTypeCompletionProposal.java
Clone Instance
1
Line Count
4
Source Line
97
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposal.java

                                                               {
                                int oldLen = document.getLength();
                                impRewrite.rewriteImports(new NullProgressMonitor()).apply(document, TextEdit.UPDATE_REGIONS);
                                setReplacementOffset(getReplacementOffset() + document.getLength() - oldLen);
                                                               }


Clone Instance
2
Line Count
4
Source Line
189
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/LazyJavaTypeCompletionProposal.java

                                                                                           {
                                int oldLen = document.getLength();
                                fImportRewrite.rewriteImports(new NullProgressMonitor()).apply(document, TextEdit.UPDATE_REGIONS);
                                setReplacementOffset(getReplacementOffset() + document.getLength() - oldLen);
                                                                                           }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  int oldLen = document.getLength();
   [[#variable9e2119e0]].rewriteImports(new NullProgressMonitor()).apply(document, TextEdit.UPDATE_REGIONS);
  setReplacementOffset(getReplacementOffset() + document.getLength() - oldLen);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e2119e0]]
impRewrite 
12[[#9e2119e0]]
fImportRewrite