CloneSet4716


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.963statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13484
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java
23686
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java
34856
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java
Clone Instance
1
Line Count
3
Source Line
484
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java

                // the last return:
                ReturnStatement endReturn = fAst.newReturnStatement();
                endReturn.setExpression(fAst.newSimpleName(VARIABLE_NAME_RESULT));
                body.statements().add(endReturn);


Clone Instance
2
Line Count
3
Source Line
686
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java

                // END RETURN
                ReturnStatement endReturn = fAst.newReturnStatement();
                endReturn.setExpression(fAst.newSimpleName(VARIABLE_NAME_RESULT));
                body.statements().add(endReturn);


Clone Instance
3
Line Count
4
Source Line
856
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java

                // the last return true:
                ReturnStatement endReturn = fAst.newReturnStatement();
                endReturn.setExpression(fAst.newBooleanLiteral(true));

                body.statements().add(endReturn);


Clone AbstractionParameter Count: 2Parameter Bindings

// the last return:
// the last return true:
// END RETURN
ReturnStatement endReturn = fAst.newReturnStatement();
endReturn.setExpression(fAst. [[#variable599ed280]]( [[#variable599ed240]]));
body.statements().add(endReturn);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#599ed280]]
newSimpleName 
12[[#599ed280]]
newBooleanLiteral 
13[[#599ed280]]
newSimpleName 
21[[#599ed240]]
VARIABLE_NAME_RESULT 
22[[#599ed240]]
true 
23[[#599ed240]]
VARIABLE_NAME_RESULT