CloneSet2476


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

                        PrefixExpression pe = fAst.newPrefixExpression();
                        pe.setOperator(PrefixExpression.Operator.NOT);
                        pe.setOperand(superEqualsCall);

                        IfStatement superEqualsIf = fAst.newIfStatement();
                        superEqualsIf.setExpression(pe);
                        superEqualsIf.setThenStatement(getReturnFalse());


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

                PrefixExpression pe = fAst.newPrefixExpression();
                pe.setOperator(PrefixExpression.Operator.NOT);
                pe.setOperand(invoc);

                IfStatement ifSt = fAst.newIfStatement();
                ifSt.setExpression(pe);
                ifSt.setThenStatement(getReturnFalse());


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

                PrefixExpression pe = fAst.newPrefixExpression();
                pe.setOperator(PrefixExpression.Operator.NOT);
                pe.setOperand(invoc);

                IfStatement elsePart = fAst.newIfStatement();
                elsePart.setExpression(pe);
                elsePart.setThenStatement(getReturnFalse());


Clone AbstractionParameter Count: 2Parameter Bindings

PrefixExpression pe = fAst.newPrefixExpression();
pe.setOperator(PrefixExpression.Operator.NOT);
pe.setOperand( [[#variableb9fe4500]]);
IfStatement  [[#variableb9fe44c0]]= fAst.newIfStatement();
 [[#variableb9fe44c0]].setExpression(pe);
 [[#variableb9fe44c0]].setThenStatement(getReturnFalse());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9fe4500]]
superEqualsCall 
12[[#b9fe4500]]
invoc 
13[[#b9fe4500]]
invoc 
21[[#b9fe44c0]]
superEqualsIf 
22[[#b9fe44c0]]
ifSt 
23[[#b9fe44c0]]
elsePart