CloneSet942


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14520.978class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11478
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java
214167
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java
314131
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java
41473
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameSourceFolderProcessor.java
514214
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
Clone Instance
1
Line Count
14
Source Line
78
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java

        public boolean isApplicable() throws CoreException {
                return RefactoringAvailabilityTester.isRenameAvailable(fProject);
        }

        public String getProcessorName() {
                return RefactoringCoreMessages.RenameJavaProjectRefactoring_rename;
        }

        protected String[] getAffectedProjectNatures() throws CoreException {
                return JavaProcessors.computeAffectedNatures(fProject);
        }

        public Object[] getElements() {
                return new Object[] {
                                     fProject
                                    };
        }


Clone Instance
2
Line Count
14
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java

        public boolean isApplicable() throws CoreException {
                return RefactoringAvailabilityTester.isRenameAvailable(fMethod);
        }

        public String getProcessorName() {
                return RefactoringCoreMessages.RenameMethodRefactoring_name;
        }

        protected String[] getAffectedProjectNatures() throws CoreException {
                return JavaProcessors.computeAffectedNatures(fMethod);
        }

        public Object[] getElements() {
                return new Object[] {
                                     fMethod
                                    };
        }


Clone Instance
3
Line Count
14
Source Line
131
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java

        public boolean isApplicable() throws CoreException {
                return RefactoringAvailabilityTester.isRenameAvailable(fPackage);
        }

        public String getProcessorName() {
                return RefactoringCoreMessages.RenamePackageRefactoring_name;
        }

        protected String[] getAffectedProjectNatures() throws CoreException {
                return JavaProcessors.computeAffectedNatures(fPackage);
        }

        public Object[] getElements() {
                return new Object[] {
                                     fPackage
                                    };
        }


Clone Instance
4
Line Count
14
Source Line
73
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameSourceFolderProcessor.java

        public boolean isApplicable() throws CoreException {
                return RefactoringAvailabilityTester.isRenameAvailable(fSourceFolder);
        }

        public String getProcessorName() {
                return RefactoringCoreMessages.RenameSourceFolderRefactoring_rename;
        }

        protected String[] getAffectedProjectNatures() throws CoreException {
                return JavaProcessors.computeAffectedNatures(fSourceFolder);
        }

        public Object[] getElements() {
                return new Object[] {
                                     fSourceFolder
                                    };
        }


Clone Instance
5
Line Count
14
Source Line
214
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

        public boolean isApplicable() throws CoreException {
                return RefactoringAvailabilityTester.isRenameAvailable(fType);
        }

        public String getProcessorName() {
                return RefactoringCoreMessages.RenameTypeRefactoring_name;
        }

        protected String[] getAffectedProjectNatures() throws CoreException {
                return JavaProcessors.computeAffectedNatures(fType);
        }

        public Object[] getElements() {
                return new Object[] {
                                     fType
                                    };
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public boolean isApplicable() throws CoreException {
  return RefactoringAvailabilityTester.isRenameAvailable( [[#variable97bbb5c0]]);
}

public String getProcessorName() {
  return RefactoringCoreMessages. [[#variable990fe9a0]];
}

protected String[] getAffectedProjectNatures() throws CoreException {
  return JavaProcessors.computeAffectedNatures( [[#variable97bbb5c0]]);
}

public Object[] getElements() {
  return new Object[] {
                         [[#variable97bbb5c0]]
                      };
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97bbb5c0]]
fProject 
12[[#97bbb5c0]]
fMethod 
13[[#97bbb5c0]]
fPackage 
14[[#97bbb5c0]]
fSourceFolder 
15[[#97bbb5c0]]
fType 
21[[#990fe9a0]]
RenameJavaProjectRefactoring_rename 
22[[#990fe9a0]]
RenameMethodRefactoring_name 
23[[#990fe9a0]]
RenamePackageRefactoring_name 
24[[#990fe9a0]]
RenameSourceFolderRefactoring_rename 
25[[#990fe9a0]]
RenameTypeRefactoring_name