CloneSet6969


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

                // trick for bug 43248: use an VariableDeclarationExpression and keep the ExpressionStatement
                VariableDeclarationExpression newDecl = ast.newVariableDeclarationExpression(newDeclFrag);

                Type type = evaluateType(ast);
                newDecl.setType(type);


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

                FieldDeclaration newDecl = ast.newFieldDeclaration(newDeclFrag);

                Type type = evaluateType(ast);
                newDecl.setType(type);


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable54bf12a0]] newDecl = ast. [[#variable54bf1340]](newDeclFrag);
Type type = evaluateType(ast);
newDecl.setType(type);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54bf12a0]]
// trick for bug 43248: use an VariableDeclarationExpression and keep the ExpressionStatement
VariableDeclarationExpression 
12[[#54bf12a0]]
FieldDeclaration 
21[[#54bf1340]]
newVariableDeclarationExpression 
22[[#54bf1340]]
newFieldDeclaration