CloneSet4846


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.973statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12111
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConstructorFromSuperclassProposal.java
2287
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java
Clone Instance
1
Line Count
2
Source Line
111
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConstructorFromSuperclassProposal.java

                        addLinkedPosition(rewrite.track(curr.getType()), false, "arg_type_" + name); //$NON-NLS-1$
                        addLinkedPosition(rewrite.track(curr.getName()), false, "arg_name_" + name); //$NON-NLS-1$


Clone Instance
2
Line Count
2
Source Line
87
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewDefiningMethodProposal.java

                        addLinkedPosition(rewrite.track(newParam.getType()), false, "arg_type_" + i); //$NON-NLS-1$
                        addLinkedPosition(rewrite.track(newParam.getName()), false, "arg_name_" + i); //$NON-NLS-1$


Clone AbstractionParameter Count: 2Parameter Bindings

addLinkedPosition(rewrite.track( [[#variableb9be11a0]].getType()), false, "arg_type_" +  [[#variableb9be10a0]]); //$NON-NLS-1$
addLinkedPosition(rewrite.track( [[#variableb9be11a0]].getName()), false, "arg_name_" +  [[#variableb9be10a0]]); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9be11a0]]
newParam 
12[[#b9be11a0]]
curr 
21[[#b9be10a0]]
i 
22[[#b9be10a0]]
name