CloneSet3350


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.990statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17440
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java
27489
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java
Clone Instance
1
Line Count
7
Source Line
440
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java

                        if (source == null) {
                                if ( !subType.getPackageFragment().isDefaultPackage()) {
                                        if (imports.length() > 0)
                                                buffer.insert(0, imports);
                                        buffer.insert(0, "package " + subType.getPackageFragment().getElementName() + ";"); //$NON-NLS-1$//$NON-NLS-2$
                                }
                                source = buffer.toString();
                        }


Clone Instance
2
Line Count
7
Source Line
489
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java

                        if (source == null) {
                                if ( !declaring.getPackageFragment().isDefaultPackage()) {
                                        if (imports.length() > 0)
                                                buffer.insert(0, imports);
                                        buffer.insert(0, "package " + declaring.getPackageFragment().getElementName() + ";"); //$NON-NLS-1$//$NON-NLS-2$
                                }
                                source = buffer.toString();
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

if (source == null) {
  if ( ! [[#variableb40f4520]].getPackageFragment().isDefaultPackage()) {
    if (imports.length() > 0)
      buffer.insert(0, imports);
    buffer.insert(0, "package " +  [[#variableb40f4520]].getPackageFragment().getElementName() + ";"); //$NON-NLS-1$//$NON-NLS-2$
  }
  source = buffer.toString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b40f4520]]
declaring 
12[[#b40f4520]]
subType