CloneSet2129


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1141071
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
21479
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java
Clone Instance
1
Line Count
14
Source Line
1071
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java

        // For debugging
        static String print(Collection 
                                      /*<ITypeBinding>*/
                                                         types) {
                if (types.isEmpty())
                        return "{ }"; //$NON-NLS-1$
                String result = "{ "; //$NON-NLS-1$
                for (Iterator it = types.iterator(); it.hasNext();) {
                        ITypeBinding type = (ITypeBinding) it.next();
                        result += type.getQualifiedName();
                        if (it.hasNext()) {
                                result += ", ";  //$NON-NLS-1$
                        }
                        else   {
                                result += " }"; //$NON-NLS-1$
                        }
                }
                return result;
        }


Clone Instance
2
Line Count
14
Source Line
79
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java

        // For debugging
        static String print(Collection 
                                      /*<ITypeBinding>*/
                                                         types) {
                if (types.isEmpty())
                        return "{ }"; //$NON-NLS-1$
                String result = "{ "; //$NON-NLS-1$
                for (Iterator it = types.iterator(); it.hasNext();) {
                        ITypeBinding type = (ITypeBinding) it.next();
                        result += type.getQualifiedName();
                        if (it.hasNext()) {
                                result += ", ";  //$NON-NLS-1$
                        }
                        else   {
                                result += " }"; //$NON-NLS-1$
                        }
                }
                return result;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

// For debugging
static String print(Collection 
                              /*<ITypeBinding>*/
                              types) {
  if (types.isEmpty())
    return "{ }"; //$NON-NLS-1$
  String result = "{ "; //$NON-NLS-1$
  for (Iterator it = types.iterator(); it.hasNext();) {
    ITypeBinding type = (ITypeBinding) it.next();
    result += type.getQualifiedName();
    if (it.hasNext()) {
      result += ", "; //$NON-NLS-1$
    }
    else {
      result += " }"; //$NON-NLS-1$
    }
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None