Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.971 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 130 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CastCompletionProposal.java |
2 | 4 | 141 | 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; } |
| ||||
if (needsOuterParantheses(fNodeToCast)) { ParenthesizedExpression parenthesizedExpression = ast.newParenthesizedExpression(); parenthesizedExpression.setExpression(castExpression); replacingNode = parenthesizedExpression; } |
| |||
if ( [[#variable56eda4a0]](fNodeToCast)) { ParenthesizedExpression parenthesizedExpression = ast.newParenthesizedExpression(); parenthesizedExpression.setExpression( [[#variable56eda420]]); [[#variable56eda3c0]]= parenthesizedExpression; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56eda4a0]] | needsInnerParantheses |
1 | 2 | [[#56eda4a0]] | needsOuterParantheses |
2 | 1 | [[#56eda420]] | expressionCopy |
2 | 2 | [[#56eda420]] | castExpression |
3 | 1 | [[#56eda3c0]] | expressionCopy |
3 | 2 | [[#56eda3c0]] | replacingNode |