Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 4 | 2 | 0.958 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 331 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/Assignment.java |
2 | 7 | 391 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/InfixExpression.java |
3 | 7 | 264 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PostfixExpression.java |
4 | 7 | 281 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/PrefixExpression.java |
| ||||
/** * Sets the operator of this assignment expression. * * @param assignmentOperator the assignment operator * @exception IllegalArgumentException if the argument is incorrect */ public void setOperator(Assignment.Operator assignmentOperator) { if (assignmentOperator == null) { throw new IllegalArgumentException(); } preValueChange(OPERATOR_PROPERTY); this.assignmentOperator = assignmentOperator; postValueChange(OPERATOR_PROPERTY); } |
| ||||
/** * Sets the operator of this infix expression. * * @param operator the infix operator * @exception IllegalArgumentException if the argument is incorrect */ public void setOperator(InfixExpression.Operator operator) { if (operator == null) { throw new IllegalArgumentException(); } preValueChange(OPERATOR_PROPERTY); this.operator = operator; postValueChange(OPERATOR_PROPERTY); } |
| ||||
/** * Sets the operator of this postfix expression. * * @param operator the operator * @exception IllegalArgumentException if the argument is incorrect */ public void setOperator(PostfixExpression.Operator operator) { if (operator == null) { throw new IllegalArgumentException(); } preValueChange(OPERATOR_PROPERTY); this.operator = operator; postValueChange(OPERATOR_PROPERTY); } |
| ||||
/** * Sets the operator of this prefix expression. * * @param operator the operator * @exception IllegalArgumentException if the argument is incorrect */ public void setOperator(PrefixExpression.Operator operator) { if (operator == null) { throw new IllegalArgumentException(); } preValueChange(OPERATOR_PROPERTY); this.operator = operator; postValueChange(OPERATOR_PROPERTY); } |
| |||
/** * Sets the operator of this prefix expression. * * @param operator the operator * @exception IllegalArgumentException if the argument is incorrect */ /** * Sets the operator of this postfix expression. * * @param operator the operator * @exception IllegalArgumentException if the argument is incorrect */ /** * Sets the operator of this infix expression. * * @param operator the infix operator * @exception IllegalArgumentException if the argument is incorrect */ /** * Sets the operator of this assignment expression. * * @param assignmentOperator the assignment operator * @exception IllegalArgumentException if the argument is incorrect */ public void setOperator( [[#variable5c0aa3a0]].Operator [[#variable5c0aa320]]) { if ( [[#variable5c0aa320]]== null) { throw new IllegalArgumentException(); } preValueChange(OPERATOR_PROPERTY); this. [[#variable5c0aa320]]= [[#variable5c0aa320]]; postValueChange(OPERATOR_PROPERTY); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5c0aa3a0]] | PrefixExpression |
1 | 2 | [[#5c0aa3a0]] | PostfixExpression |
1 | 3 | [[#5c0aa3a0]] | InfixExpression |
1 | 4 | [[#5c0aa3a0]] | Assignment |
2 | 1 | [[#5c0aa320]] | operator |
2 | 2 | [[#5c0aa320]] | operator |
2 | 3 | [[#5c0aa320]] | operator |
2 | 4 | [[#5c0aa320]] | assignmentOperator |