CloneSet7209


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.971statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CastCompletionProposal.java
24141
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CastCompletionProposal.java
Clone Instance
1
Line Count
4
Source Line
130
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CastCompletionProposal.java

                        if (needsInnerParantheses(fNodeToCast)) {
                                ParenthesizedExpression parenthesizedExpression = ast.newParenthesizedExpression();
                                parenthesizedExpression.setExpression(expressionCopy);
                                expressionCopy = parenthesizedExpression;
                        }


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

                        if (needsOuterParantheses(fNodeToCast)) {
                                ParenthesizedExpression parenthesizedExpression = ast.newParenthesizedExpression();
                                parenthesizedExpression.setExpression(castExpression);
                                replacingNode = parenthesizedExpression;
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variable56eda4a0]](fNodeToCast)) {
  ParenthesizedExpression parenthesizedExpression = ast.newParenthesizedExpression();
  parenthesizedExpression.setExpression( [[#variable56eda420]]);
   [[#variable56eda3c0]]= parenthesizedExpression;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56eda4a0]]
needsInnerParantheses 
12[[#56eda4a0]]
needsOuterParantheses 
21[[#56eda420]]
expressionCopy 
22[[#56eda420]]
castExpression 
31[[#56eda3c0]]
expressionCopy 
32[[#56eda3c0]]
replacingNode