| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 5 | 2 | 0.978 | class_body_declarations[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 78 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java |
| 2 | 14 | 167 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameMethodProcessor.java |
| 3 | 14 | 131 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
| 4 | 14 | 73 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameSourceFolderProcessor.java |
| 5 | 14 | 214 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.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
};
}
|
| ||||
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
};
}
|
| ||||
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
};
}
|
| ||||
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
};
}
|
| ||||
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
};
}
|
| |||
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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#97bbb5c0]] | fProject |
| 1 | 2 | [[#97bbb5c0]] | fMethod |
| 1 | 3 | [[#97bbb5c0]] | fPackage |
| 1 | 4 | [[#97bbb5c0]] | fSourceFolder |
| 1 | 5 | [[#97bbb5c0]] | fType |
| 2 | 1 | [[#990fe9a0]] | RenameJavaProjectRefactoring_rename |
| 2 | 2 | [[#990fe9a0]] | RenameMethodRefactoring_name |
| 2 | 3 | [[#990fe9a0]] | RenamePackageRefactoring_name |
| 2 | 4 | [[#990fe9a0]] | RenameSourceFolderRefactoring_rename |
| 2 | 5 | [[#990fe9a0]] | RenameTypeRefactoring_name |