CloneSet4956


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

                ImportRewrite imports = getImportRewrite();
                ListRewrite listRewrite = rewrite.getListRewrite(methodDecl, MethodDeclaration.PARAMETERS_PROPERTY);

                List parameters = methodDecl.parameters(); // old parameters
                int k = 0; // index over the oldParameters


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

                ImportRewrite imports = getImportRewrite();
                ListRewrite listRewrite = rewrite.getListRewrite(methodDecl, MethodDeclaration.THROWN_EXCEPTIONS_PROPERTY);

                List exceptions = methodDecl.thrownExceptions(); // old exceptions
                int k = 0; // index over the old exceptions


Clone AbstractionParameter Count: 3Parameter Bindings

ImportRewrite imports = getImportRewrite();
ListRewrite listRewrite = rewrite.getListRewrite(methodDecl, MethodDeclaration. [[#variable5e9faa20]]);
List  [[#variable5e9fa9c0]]= methodDecl. [[#variable5e9fb200]](); // old exceptions // old parameters
int k = 0; // index over the old exceptions // index over the oldParameters
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e9faa20]]
THROWN_EXCEPTIONS_PROPERTY 
12[[#5e9faa20]]
PARAMETERS_PROPERTY 
21[[#5e9fa9c0]]
exceptions 
22[[#5e9fa9c0]]
parameters 
31[[#5e9fb200]]
thrownExceptions 
32[[#5e9fb200]]
parameters