CloneSet3048


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2430.971statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12104
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java
2260
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AddArgumentCorrectionProposal.java
3276
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewAnnotationMemberProposal.java
42380
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
Clone Instance
1
Line Count
2
Source Line
104
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java

                        ListRewrite listRewriter = rewrite.getListRewrite(newTypeDecl, property);
                        listRewriter.insertAt(newStub, insertIndex, null);


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

                        ListRewrite listRewriter = rewrite.getListRewrite(fCallerNode, property);
                        listRewriter.insertAt(newArg, idx, null);


Clone Instance
3
Line Count
2
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewAnnotationMemberProposal.java

                        ListRewrite listRewriter = rewrite.getListRewrite(newTypeDecl, property);
                        listRewriter.insertAt(newStub, insertIndex, null);


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

                        ListRewrite listRewriter = rewrite.getListRewrite(newTypeDecl, property);
                        listRewriter.insertAt(newDecl, insertIndex, null);


Clone AbstractionParameter Count: 3Parameter Bindings

ListRewrite listRewriter = rewrite.getListRewrite( [[#variablebb295b00]], property);
listRewriter.insertAt( [[#variablebb295b80]],  [[#variablebb295b20]], null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb295b00]]
newTypeDecl 
12[[#bb295b00]]
newTypeDecl 
13[[#bb295b00]]
fCallerNode 
14[[#bb295b00]]
newTypeDecl 
21[[#bb295b80]]
newDecl 
22[[#bb295b80]]
newStub 
23[[#bb295b80]]
newArg 
24[[#bb295b80]]
newStub 
31[[#bb295b20]]
insertIndex 
32[[#bb295b20]]
insertIndex 
33[[#bb295b20]]
idx 
34[[#bb295b20]]
insertIndex