CloneSet9833


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

                        SuperMethodInvocation invoc = fAst.newSuperMethodInvocation();
                        invoc.setName(fAst.newSimpleName(METHODNAME_HASH_CODE));


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

                        // if (!super.equals(obj)) return false;
                        SuperMethodInvocation superEqualsCall = fAst.newSuperMethodInvocation();
                        superEqualsCall.setName(fAst.newSimpleName(METHODNAME_EQUALS));


Clone AbstractionParameter Count: 2Parameter Bindings

// if (!super.equals(obj)) return false;
SuperMethodInvocation  [[#variablebb527800]]= fAst.newSuperMethodInvocation();
 [[#variablebb527800]].setName(fAst.newSimpleName( [[#variablebb5277a0]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb527800]]
invoc 
12[[#bb527800]]
superEqualsCall 
21[[#bb5277a0]]
METHODNAME_HASH_CODE 
22[[#bb5277a0]]
METHODNAME_EQUALS