CloneSet5741


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.952statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14116
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/RegionBasedHierarchyBuilder.java
24254
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsRefactoring.java
Clone Instance
1
Line Count
4
Source Line
116
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/RegionBasedHierarchyBuilder.java

                                ArrayList openables = (ArrayList) allOpenables.get(javaProject);
                                if (openables == null) {
                                        openables = new ArrayList();
                                        allOpenables.put(javaProject, openables);
                                }


Clone Instance
2
Line Count
4
Source Line
254
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsRefactoring.java

                        ArrayList javaElements = (ArrayList) result.get(javaProject);
                        if (javaElements == null) {
                                javaElements = new ArrayList();
                                result.put(javaProject, javaElements);
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

ArrayList  [[#variable941f09e0]]= (ArrayList)  [[#variable941f0860]].get(javaProject);
if ( [[#variable941f09e0]]== null) {
   [[#variable941f09e0]]= new ArrayList();
   [[#variable941f0860]].put(javaProject,  [[#variable941f09e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#941f09e0]]
javaElements 
12[[#941f09e0]]
openables 
21[[#941f0860]]
result 
22[[#941f0860]]
allOpenables