Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 11 | 4 | 0.974 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 148 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java |
2 | 4 | 855 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java |
3 | 4 | 208 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java |
4 | 4 | 387 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java |
5 | 4 | 913 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
6 | 4 | 1166 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java |
7 | 4 | 838 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java |
8 | 4 | 1604 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
9 | 4 | 964 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
10 | 4 | 373 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java |
11 | 4 | 382 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.FIELD) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_ENUM_CONSTANT); else fField = (IField) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.FIELD) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_FIELD); else fField = (IField) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.JAVA_PROJECT) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_JAVA_PROJECT); else fProject = (IJavaProject) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.COMPILATION_UNIT) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_LOCAL_VARIABLE); else fCu = (ICompilationUnit) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.PACKAGE_FRAGMENT) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_PACKAGE); else fPackage = (IPackageFragment) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_TYPE); else fType = (IType) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_EXTRACT_INTERFACE); else fSubType = (IType) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_PULL_UP); else fDestinationType = (IType) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_PUSH_DOWN); else fCachedDeclaringType = (IType) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_USE_SUPERTYPE); else fSubType = (IType) element; |
| ||||
if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_USE_SUPERTYPE); else fSuperType = (IType) element; |
| |||
if (element == null || !element.exists() || element.getElementType() != IJavaElement. [[#variable52bf68c0]]) return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), [[#variable52bf6820]]); else [[#variable52bf6760]]= ( [[#variable52bf66e0]]) element; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52bf68c0]] | FIELD |
1 | 2 | [[#52bf68c0]] | JAVA_PROJECT |
1 | 3 | [[#52bf68c0]] | PACKAGE_FRAGMENT |
1 | 4 | [[#52bf68c0]] | FIELD |
1 | 5 | [[#52bf68c0]] | COMPILATION_UNIT |
1 | 6 | [[#52bf68c0]] | TYPE |
1 | 7 | [[#52bf68c0]] | TYPE |
1 | 8 | [[#52bf68c0]] | TYPE |
1 | 9 | [[#52bf68c0]] | TYPE |
1 | 10 | [[#52bf68c0]] | TYPE |
1 | 11 | [[#52bf68c0]] | TYPE |
2 | 1 | [[#52bf6820]] | ID_RENAME_ENUM_CONSTANT |
2 | 2 | [[#52bf6820]] | ID_RENAME_JAVA_PROJECT |
2 | 3 | [[#52bf6820]] | ID_RENAME_PACKAGE |
2 | 4 | [[#52bf6820]] | ID_RENAME_FIELD |
2 | 5 | [[#52bf6820]] | ID_RENAME_LOCAL_VARIABLE |
2 | 6 | [[#52bf6820]] | ID_RENAME_TYPE |
2 | 7 | [[#52bf6820]] | ID_EXTRACT_INTERFACE |
2 | 8 | [[#52bf6820]] | ID_PULL_UP |
2 | 9 | [[#52bf6820]] | ID_PUSH_DOWN |
2 | 10 | [[#52bf6820]] | ID_USE_SUPERTYPE |
2 | 11 | [[#52bf6820]] | ID_USE_SUPERTYPE |
3 | 1 | [[#52bf6760]] | fField |
3 | 2 | [[#52bf6760]] | fProject |
3 | 3 | [[#52bf6760]] | fPackage |
3 | 4 | [[#52bf6760]] | fField |
3 | 5 | [[#52bf6760]] | fCu |
3 | 6 | [[#52bf6760]] | fType |
3 | 7 | [[#52bf6760]] | fSubType |
3 | 8 | [[#52bf6760]] | fDestinationType |
3 | 9 | [[#52bf6760]] | fCachedDeclaringType |
3 | 10 | [[#52bf6760]] | fSuperType |
3 | 11 | [[#52bf6760]] | fSubType |
4 | 1 | [[#52bf66e0]] | IField |
4 | 2 | [[#52bf66e0]] | IJavaProject |
4 | 3 | [[#52bf66e0]] | IPackageFragment |
4 | 4 | [[#52bf66e0]] | IField |
4 | 5 | [[#52bf66e0]] | ICompilationUnit |
4 | 6 | [[#52bf66e0]] | IType |
4 | 7 | [[#52bf66e0]] | IType |
4 | 8 | [[#52bf66e0]] | IType |
4 | 9 | [[#52bf66e0]] | IType |
4 | 10 | [[#52bf66e0]] | IType |
4 | 11 | [[#52bf66e0]] | IType |