CloneSet4622


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.980statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12162
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java
23235
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java
33152
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java
Clone Instance
1
Line Count
2
Source Line
162
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ReturnTypeSubProcessor.java

                                ImportRewrite imports = proposal.createImportRewrite(astRoot);
                                Type newReturnType = imports.addImport(binding, ast);


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

                        ImportRewrite imports = proposal.createImportRewrite(astRoot);

                        Type type = imports.addImport(typeBinding, ast);


Clone Instance
3
Line Count
3
Source Line
152
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java

                                ImportRewrite imports = proposal.createImportRewrite(astRoot);

                                Type newReturnType = imports.addImport(currBinding, ast);


Clone AbstractionParameter Count: 2Parameter Bindings

ImportRewrite imports = proposal.createImportRewrite(astRoot);
Type  [[#variableb61fb8c0]]= imports.addImport( [[#variableb61fb940]], ast);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b61fb8c0]]
type 
12[[#b61fb8c0]]
newReturnType 
13[[#b61fb8c0]]
newReturnType 
21[[#b61fb940]]
typeBinding 
22[[#b61fb940]]
currBinding 
23[[#b61fb940]]
binding