CloneSet1543


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19201.000statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119180
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java
219651
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
Clone Instance
1
Line Count
19
Source Line
180
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ExpressionsFix.java

                        if (expression instanceof PrefixExpression) {
                                return 1;
                        }
                        if ((expression instanceof ClassInstanceCreation) || (expression instanceof CastExpression)) {
                                return 2;
                        }
                        if (expression instanceof InfixExpression) {
                                InfixExpression infixExpression = (InfixExpression) expression;
                                InfixExpression.Operator operator = infixExpression.getOperator();
                                return getInfixOperatorPrecedence(operator);
                        }
                        if (expression instanceof InstanceofExpression) {
                                return 6;
                        }
                        if (expression instanceof ConditionalExpression) {
                                return 13;
                        }
                        if (expression instanceof Assignment) {
                                return 14;
                        }


Clone Instance
2
Line Count
19
Source Line
651
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                if (expression instanceof PrefixExpression) {
                        return 1;
                }
                if ((expression instanceof ClassInstanceCreation) || (expression instanceof CastExpression)) {
                        return 2;
                }
                if (expression instanceof InfixExpression) {
                        InfixExpression infixExpression = (InfixExpression) expression;
                        InfixExpression.Operator operator = infixExpression.getOperator();
                        return getInfixOperatorPrecedence(operator);
                }
                if (expression instanceof InstanceofExpression) {
                        return 6;
                }
                if (expression instanceof ConditionalExpression) {
                        return 13;
                }
                if (expression instanceof Assignment) {
                        return 14;
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (expression instanceof PrefixExpression) {
  return 1;
}
if ((expression instanceof ClassInstanceCreation) || (expression instanceof CastExpression)) {
  return 2;
}
if (expression instanceof InfixExpression) {
  InfixExpression infixExpression = (InfixExpression) expression;
  InfixExpression.Operator operator = infixExpression.getOperator();
  return getInfixOperatorPrecedence(operator);
}
if (expression instanceof InstanceofExpression) {
  return 6;
}
if (expression instanceof ConditionalExpression) {
  return 13;
}
if (expression instanceof Assignment) {
  return 14;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None