CloneSet3369


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.964class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16122
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java
28130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java
Clone Instance
1
Line Count
6
Source Line
122
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java

        public void getPipelinedChildren(Object parent, Set currentChildren) {
                Object[] children = getChildren(parent);
                for (Iterator iter = currentChildren.iterator(); iter.hasNext();)
                        if (iter.next() instanceof IResource)
                                iter.remove();
                currentChildren.addAll(Arrays.asList(children));
        }


Clone Instance
2
Line Count
8
Source Line
130
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorContentProvider.java

        public void getPipelinedElements(Object input, Set currentElements) {
                Object[] children = getElements(input);

                for (Iterator iter = currentElements.iterator(); iter.hasNext();)
                        if (iter.next() instanceof IResource)
                                iter.remove();

                currentElements.addAll(Arrays.asList(children));
        }


Clone AbstractionParameter Count: 4Parameter Bindings

public void [[#variableb2608e40]](Object  [[#variableb2608dc0]], Set  [[#variableb2608d40]]) {
  Object[] children = [[#variableb2608ce0]]( [[#variableb2608dc0]]);
  for (Iterator iter = [[#variableb2608d40]].iterator(); iter.hasNext();)
    if (iter.next() instanceof IResource)
      iter.remove();
   [[#variableb2608d40]].addAll(Arrays.asList(children));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2608e40]]
getPipelinedChildren 
12[[#b2608e40]]
getPipelinedElements 
21[[#b2608dc0]]
parent 
22[[#b2608dc0]]
input 
31[[#b2608d40]]
currentChildren 
32[[#b2608d40]]
currentElements 
41[[#b2608ce0]]
getChildren 
42[[#b2608ce0]]
getElements