CloneSet6772


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1845
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/PostfixExpression.java
2830
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/PrefixExpression.java
Clone Instance
1
Line Count
8
Source Line
45
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/PostfixExpression.java

public String operatorToString() {
        switch (this.operator) {
                case PLUS:
                        return "++"; //$NON-NLS-1$
                case MINUS:
                        return "--"; //$NON-NLS-1$
              }
        return "unknown operator"; //$NON-NLS-1$
}


Clone Instance
2
Line Count
8
Source Line
30
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/PrefixExpression.java

public String operatorToString() {
        switch (this.operator) {
                case PLUS:
                        return "++"; //$NON-NLS-1$
                case MINUS:
                        return "--"; //$NON-NLS-1$
              }
        return "unknown operator"; //$NON-NLS-1$
}


Clone AbstractionParameter Count: 0Parameter Bindings

public String operatorToString() {
  switch (this.operator) {
    case PLUS:
      return "++"; //$NON-NLS-1$
    case MINUS:
      return "--"; //$NON-NLS-1$
  }
  return "unknown operator"; //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None