CloneSet3229


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

                                SingleVariableDeclaration decl2 = (SingleVariableDeclaration) parameters.get(((SwapDescription) curr).index);

                                rewrite.replace(decl1, rewrite.createCopyTarget(decl2), null);
                                rewrite.replace(decl2, rewrite.createCopyTarget(decl1), null);


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

                                Name decl2 = (Name) exceptions.get(((SwapDescription) curr).index);

                                rewrite.replace(decl1, rewrite.createCopyTarget(decl2), null);
                                rewrite.replace(decl2, rewrite.createCopyTarget(decl1), null);


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable93afa880]] decl2 = ( [[#variable93afa880]])  [[#variable93afa800]].get(((SwapDescription) curr).index);
rewrite.replace(decl1, rewrite.createCopyTarget(decl2), null);
rewrite.replace(decl2, rewrite.createCopyTarget(decl1), null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93afa880]]
Name 
12[[#93afa880]]
SingleVariableDeclaration 
21[[#93afa800]]
exceptions 
22[[#93afa800]]
parameters