CloneSet8674


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.963type_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1727
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameCompilationUnitRefactoringContribution.java
2727
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameMethodRefactoringContribution.java
Clone Instance
1
Line Count
7
Source Line
27
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameCompilationUnitRefactoringContribution.java

/**
 * Refactoring contribution for the rename compilation unit refactoring.
 * 
 * @since 3.2
 */
public final class RenameCompilationUnitRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
                return new JavaRenameRefactoring(new RenameCompilationUnitProcessor(null));
        }
}




Clone Instance
2
Line Count
7
Source Line
27
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameMethodRefactoringContribution.java

/**
 * Refactoring contribution for the rename method refactoring.
 * 
 * @since 3.2
 */
public final class RenameMethodRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws JavaModelException {
                return new JavaRenameRefactoring(new RenameVirtualMethodProcessor(null));
        }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Refactoring contribution for the rename method refactoring.
 * 
 * @since 3.2
 */
/**
 * Refactoring contribution for the rename compilation unit refactoring.
 * 
 * @since 3.2
 */
public final class [[#variablea33d4480]]extends JavaRefactoringContribution {
  /**
           * {@inheritDoc}
           */
  public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws [[#variablea33d4420]]{
    return new JavaRenameRefactoring(new [[#variablea33d43a0]](null));
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a33d4480]]
RenameMethodRefactoringContribution 
12[[#a33d4480]]
RenameCompilationUnitRefactoringContribution 
21[[#a33d4420]]
JavaModelException 
22[[#a33d4420]]
CoreException 
31[[#a33d43a0]]
RenameVirtualMethodProcessor 
32[[#a33d43a0]]
RenameCompilationUnitProcessor