CloneSet340


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
41140.974statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14148
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java
24855
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java
34208
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java
44387
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameLocalVariableProcessor.java
54913
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java
641166
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
74838
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java
841604
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
94964
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java
104373
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java
114382
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java
Clone Instance
1
Line Count
4
Source Line
148
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameEnumConstProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.FIELD)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_ENUM_CONSTANT);
                                else
                                        fField = (IField) element;


Clone Instance
2
Line Count
4
Source Line
855
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameFieldProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.FIELD)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_FIELD);
                                else
                                        fField = (IField) element;


Clone Instance
3
Line Count
4
Source Line
208
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameJavaProjectProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.JAVA_PROJECT)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_JAVA_PROJECT);
                                else
                                        fProject = (IJavaProject) element;


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

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.COMPILATION_UNIT)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_LOCAL_VARIABLE);
                                else
                                        fCu = (ICompilationUnit) element;


Clone Instance
5
Line Count
4
Source Line
913
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.PACKAGE_FRAGMENT)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_PACKAGE);
                                else
                                        fPackage = (IPackageFragment) element;


Clone Instance
6
Line Count
4
Source Line
1166
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_RENAME_TYPE);
                                else
                                        fType = (IType) element;


Clone Instance
7
Line Count
4
Source Line
838
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_EXTRACT_INTERFACE);
                                else
                                        fSubType = (IType) element;


Clone Instance
8
Line Count
4
Source Line
1604
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_PULL_UP);
                                else
                                        fDestinationType = (IType) element;


Clone Instance
9
Line Count
4
Source Line
964
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_PUSH_DOWN);
                                else
                                        fCachedDeclaringType = (IType) element;


Clone Instance
10
Line Count
4
Source Line
373
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_USE_SUPERTYPE);
                                else
                                        fSubType = (IType) element;


Clone Instance
11
Line Count
4
Source Line
382
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java

                                if (element == null || !element.exists() || element.getElementType() != IJavaElement.TYPE)
                                        return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(), ID_USE_SUPERTYPE);
                                else
                                        fSuperType = (IType) element;


Clone AbstractionParameter Count: 4Parameter Bindings

if (element == null || !element.exists() || element.getElementType() != IJavaElement. [[#variable52bf68c0]])
  return ScriptableRefactoring.createInputFatalStatus(element, getRefactoring().getName(),  [[#variable52bf6820]]);
else
   [[#variable52bf6760]]= ( [[#variable52bf66e0]]) element;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52bf68c0]]
FIELD 
12[[#52bf68c0]]
JAVA_PROJECT 
13[[#52bf68c0]]
PACKAGE_FRAGMENT 
14[[#52bf68c0]]
FIELD 
15[[#52bf68c0]]
COMPILATION_UNIT 
16[[#52bf68c0]]
TYPE 
17[[#52bf68c0]]
TYPE 
18[[#52bf68c0]]
TYPE 
19[[#52bf68c0]]
TYPE 
110[[#52bf68c0]]
TYPE 
111[[#52bf68c0]]
TYPE 
21[[#52bf6820]]
ID_RENAME_ENUM_CONSTANT 
22[[#52bf6820]]
ID_RENAME_JAVA_PROJECT 
23[[#52bf6820]]
ID_RENAME_PACKAGE 
24[[#52bf6820]]
ID_RENAME_FIELD 
25[[#52bf6820]]
ID_RENAME_LOCAL_VARIABLE 
26[[#52bf6820]]
ID_RENAME_TYPE 
27[[#52bf6820]]
ID_EXTRACT_INTERFACE 
28[[#52bf6820]]
ID_PULL_UP 
29[[#52bf6820]]
ID_PUSH_DOWN 
210[[#52bf6820]]
ID_USE_SUPERTYPE 
211[[#52bf6820]]
ID_USE_SUPERTYPE 
31[[#52bf6760]]
fField 
32[[#52bf6760]]
fProject 
33[[#52bf6760]]
fPackage 
34[[#52bf6760]]
fField 
35[[#52bf6760]]
fCu 
36[[#52bf6760]]
fType 
37[[#52bf6760]]
fSubType 
38[[#52bf6760]]
fDestinationType 
39[[#52bf6760]]
fCachedDeclaringType 
310[[#52bf6760]]
fSuperType 
311[[#52bf6760]]
fSubType 
41[[#52bf66e0]]
IField 
42[[#52bf66e0]]
IJavaProject 
43[[#52bf66e0]]
IPackageFragment 
44[[#52bf66e0]]
IField 
45[[#52bf66e0]]
ICompilationUnit 
46[[#52bf66e0]]
IType 
47[[#52bf66e0]]
IType 
48[[#52bf66e0]]
IType 
49[[#52bf66e0]]
IType 
410[[#52bf66e0]]
IType 
411[[#52bf66e0]]
IType