CloneSet4280


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2420.963statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12403
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java
22135
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchEditorOpener.java
32202
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java
42195
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java
Clone Instance
1
Line Count
2
Source Line
403
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TargetProvider.java

                                                        IJavaElement jElement = (IJavaElement) element;
                                                        ICompilationUnit unit = (ICompilationUnit) jElement.getAncestor(IJavaElement.COMPILATION_UNIT);


Clone Instance
2
Line Count
2
Source Line
135
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchEditorOpener.java

                        IJavaElement jElement = (IJavaElement) element;
                        ICompilationUnit cu = (ICompilationUnit) jElement.getAncestor(IJavaElement.COMPILATION_UNIT);


Clone Instance
3
Line Count
2
Source Line
202
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java

                        IJavaElement javaElement = (IJavaElement) element;
                        ICompilationUnit cu = (ICompilationUnit) javaElement.getAncestor(IJavaElement.COMPILATION_UNIT);


Clone Instance
4
Line Count
2
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java

                                IJavaElement je = (IJavaElement) element;
                                ICompilationUnit cu = (ICompilationUnit) je.getAncestor(IJavaElement.COMPILATION_UNIT);


Clone AbstractionParameter Count: 2Parameter Bindings

IJavaElement  [[#variablea0efe480]]= (IJavaElement) element;
ICompilationUnit  [[#variablea0efe440]]= (ICompilationUnit)  [[#variablea0efe480]].getAncestor(IJavaElement.COMPILATION_UNIT);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0efe480]]
je 
12[[#a0efe480]]
jElement 
13[[#a0efe480]]
jElement 
14[[#a0efe480]]
javaElement 
21[[#a0efe440]]
cu 
22[[#a0efe440]]
unit 
23[[#a0efe440]]
cu 
24[[#a0efe440]]
cu