CloneSet2013


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.993statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15250
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
25431
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
Clone Instance
1
Line Count
5
Source Line
250
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java

                                TagElement tagNode1 = findParamTag(methodDecl, decl1);
                                TagElement tagNode2 = findParamTag(methodDecl, decl2);
                                if (tagNode1 != null && tagNode2 != null) {
                                        rewrite.replace(tagNode1, rewrite.createCopyTarget(tagNode2), null);
                                        rewrite.replace(tagNode2, rewrite.createCopyTarget(tagNode1), null);
                                }


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

                                TagElement tagNode1 = findThrowsTag(methodDecl, decl1);
                                TagElement tagNode2 = findThrowsTag(methodDecl, decl2);
                                if (tagNode1 != null && tagNode2 != null) {
                                        rewrite.replace(tagNode1, rewrite.createCopyTarget(tagNode2), null);
                                        rewrite.replace(tagNode2, rewrite.createCopyTarget(tagNode1), null);
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

TagElement tagNode1 = [[#variable9172f620]](methodDecl, decl1);
TagElement tagNode2 = [[#variable9172f620]](methodDecl, decl2);
if (tagNode1 != null && tagNode2 != null) {
  rewrite.replace(tagNode1, rewrite.createCopyTarget(tagNode2), null);
  rewrite.replace(tagNode2, rewrite.createCopyTarget(tagNode1), null);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9172f620]]
findThrowsTag 
12[[#9172f620]]
findParamTag