CloneSet7635


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.968statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12131
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
22582
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
Clone Instance
1
Line Count
2
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java

                        ListRewrite listRewriter = rewrite.getListRewrite(decl, MethodDeclaration.PARAMETERS_PROPERTY);
                        listRewriter.insertLast(newDecl, null);


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

                                ListRewrite listRewriter = rewrite.getListRewrite(methodDeclaration, MethodDeclaration.THROWN_EXCEPTIONS_PROPERTY);
                                listRewriter.insertLast(newName, null);


Clone AbstractionParameter Count: 3Parameter Bindings

ListRewrite listRewriter = rewrite.getListRewrite( [[#variable5a52d940]], MethodDeclaration. [[#variable5a54e380]]);
listRewriter.insertLast( [[#variable5a52d8e0]], null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a52d940]]
decl 
12[[#5a52d940]]
methodDeclaration 
21[[#5a54e380]]
PARAMETERS_PROPERTY 
22[[#5a54e380]]
THROWN_EXCEPTIONS_PROPERTY 
31[[#5a52d8e0]]
newDecl 
32[[#5a52d8e0]]
newName