CloneSet3210


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9240.965executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
29391
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
Clone Instance
1
Line Count
9
Source Line
189
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java

                                                                      {
                                SingleVariableDeclaration decl = (SingleVariableDeclaration) parameters.get(k);

                                listRewrite.remove(decl, null);
                                k++;

                                TagElement tagNode = findParamTag(methodDecl, decl);
                                if (tagNode != null) {
                                        rewrite.remove(tagNode, null);
                                }
                                                                      }


Clone Instance
2
Line Count
9
Source Line
391
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java

                                                                      {
                                Name node = (Name) exceptions.get(k);

                                listRewrite.remove(node, null);
                                k++;

                                TagElement tagNode = findThrowsTag(methodDecl, node);
                                if (tagNode != null) {
                                        rewrite.remove(tagNode, null);
                                }
                                                                      }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   [[#variableb0b6e740]]  [[#variable9d9d9e00]]= ( [[#variableb0b6e740]])  [[#variableb0b6e6a0]].get(k);
  listRewrite.remove( [[#variable9d9d9e00]], null);
  k++;
  TagElement tagNode = [[#variableb0b6e780]](methodDecl,  [[#variable9d9d9e00]]);
  if (tagNode != null) {
    rewrite.remove(tagNode, null);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b0b6e740]]
SingleVariableDeclaration 
12[[#b0b6e740]]
Name 
21[[#9d9d9e00]]
decl 
22[[#9d9d9e00]]
node 
31[[#b0b6e6a0]]
parameters 
32[[#b0b6e6a0]]
exceptions 
41[[#b0b6e780]]
findParamTag 
42[[#b0b6e780]]
findThrowsTag