CloneSet8513


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.976statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13627
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java
23209
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java
Clone Instance
1
Line Count
3
Source Line
627
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java

                        ICompilationUnit unit = (ICompilationUnit) element.getAncestor(IJavaElement.COMPILATION_UNIT);
                        if (unit == null)
                                return true;


Clone Instance
2
Line Count
3
Source Line
209
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResultRequestor.java

                ICompilationUnit unit = (ICompilationUnit) enclosingElement.getAncestor(IJavaElement.COMPILATION_UNIT);
                if (unit == null)
                        return null;


Clone AbstractionParameter Count: 2Parameter Bindings

ICompilationUnit unit = (ICompilationUnit)  [[#variablebd2fd780]].getAncestor(IJavaElement.COMPILATION_UNIT);
if (unit == null)
  return [[#variablebd2fd5c0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bd2fd780]]
element 
12[[#bd2fd780]]
enclosingElement 
21[[#bd2fd5c0]]
true 
22[[#bd2fd5c0]]
null