CloneSet6364


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.965statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13110
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java
23128
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java
Clone Instance
1
Line Count
3
Source Line
110
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java

                                                VariableDeclarationFragment placeholder = (VariableDeclarationFragment) rewrite.createMoveTarget(declNode);
                                                FieldDeclaration newField = ast.newFieldDeclaration(placeholder);
                                                newField.setType(type);


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

                                                VariableDeclarationFragment placeholder = (VariableDeclarationFragment) rewrite.createMoveTarget(declNode);
                                                VariableDeclarationStatement newStat = ast.newVariableDeclarationStatement(placeholder);
                                                newStat.setType(type);


Clone AbstractionParameter Count: 3Parameter Bindings

VariableDeclarationFragment placeholder = (VariableDeclarationFragment) rewrite.createMoveTarget(declNode);
 [[#variable6010fa00]]  [[#variable6014c9c0]]= ast. [[#variable6014d460]](placeholder);
 [[#variable6014c9c0]].setType(type);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6010fa00]]
FieldDeclaration 
12[[#6010fa00]]
VariableDeclarationStatement 
21[[#6014c9c0]]
newField 
22[[#6014c9c0]]
newStat 
31[[#6014d460]]
newFieldDeclaration 
32[[#6014d460]]
newVariableDeclarationStatement