Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.958 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 101 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java |
2 | 4 | 572 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) node; Expression expression = parenthesizedExpression.getExpression(); while (expression instanceof ParenthesizedExpression) { expression = ((ParenthesizedExpression) expression).getExpression(); } |
| ||||
ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) expression; Expression innerExpression = parenthesizedExpression.getExpression(); while (innerExpression instanceof ParenthesizedExpression) { innerExpression = ((ParenthesizedExpression) innerExpression).getExpression(); } |
| |||
ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression) [[#variable76cedd20]]; Expression [[#variable76cedcc0]]= parenthesizedExpression.getExpression(); while ( [[#variable76cedcc0]]instanceof ParenthesizedExpression) { [[#variable76cedcc0]]= ((ParenthesizedExpression) [[#variable76cedcc0]]).getExpression(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76cedd20]] | expression |
1 | 2 | [[#76cedd20]] | node |
2 | 1 | [[#76cedcc0]] | innerExpression |
2 | 2 | [[#76cedcc0]] | expression |