CloneSet2337


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.988executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16194
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java
26151
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java
Clone Instance
1
Line Count
6
Source Line
194
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java

                                                                                                                {
                                                                if (key.equals(bindings[offset].getKey())) {
                                                                        stub = StubUtility2.createImplementationStub(copy, rewrite, importRewrite, bindings[offset], binding.getName(), binding.isInterface(), settings);
                                                                        if (stub != null)
                                                                                rewriter.insertFirst(stub, null);
                                                                        break;
                                                                }
                                                                                                                }


Clone Instance
2
Line Count
6
Source Line
151
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java

                                                                                         {
                                                if (key.equals(bindings[index].getKey())) {
                                                        stub = StubUtility2.createImplementationStub(fCompilationUnit, rewrite, importRewrite, bindings[index], binding.getName(), binding.isInterface(), settings);
                                                        if (stub != null)
                                                                rewriter.insertFirst(stub, null);
                                                        break;
                                                }
                                                                                         }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  if (key.equals(bindings[ [[#variable51f2e160]]].getKey())) {
    stub = StubUtility2.createImplementationStub( [[#variable51f2fea0]], rewrite, importRewrite, bindings[ [[#variable51f2e160]]], binding.getName(), binding.isInterface(), settings);
    if (stub != null)
      rewriter.insertFirst(stub, null);
    break;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#51f2e160]]
index 
12[[#51f2e160]]
offset 
21[[#51f2fea0]]
fCompilationUnit 
22[[#51f2fea0]]
copy