Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.994 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1894 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
2 | 6 | 1900 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java |
| ||||
{ Assignment newAssignment = ast.newAssignment(); newAssignment.setLeftHandSide(newName); newAssignment.setRightHandSide(inversedExpression); newAssignment.setOperator(Assignment.Operator.BIT_OR_ASSIGN); rewrite.replace(assignment, newAssignment, null); } |
| ||||
{ Assignment newAssignment = ast.newAssignment(); newAssignment.setLeftHandSide(newName); newAssignment.setRightHandSide(inversedExpression); newAssignment.setOperator(Assignment.Operator.BIT_AND_ASSIGN); rewrite.replace(assignment, newAssignment, null); } |
| |||
{ Assignment newAssignment = ast.newAssignment(); newAssignment.setLeftHandSide(newName); newAssignment.setRightHandSide(inversedExpression); newAssignment.setOperator(Assignment.Operator. [[#variable9bb504a0]]); rewrite.replace(assignment, newAssignment, null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bb504a0]] | BIT_OR_ASSIGN |
1 | 2 | [[#9bb504a0]] | BIT_AND_ASSIGN |