CloneSet3433


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15161
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
25168
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java
Clone Instance
1
Line Count
5
Source Line
161
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java

                private void addElement(IAdaptable element, IWorkingSet ws) {
                        addToMap(fElementToWorkingSet, element, ws);
                        IResource resource = (IResource) element.getAdapter(IResource.class );
                        if (resource != null) {
                                addToMap(fResourceToWorkingSet, resource, ws);
                        }
                }


Clone Instance
2
Line Count
5
Source Line
168
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetModel.java

                private void removeElement(IAdaptable element, IWorkingSet ws) {
                        removeFromMap(fElementToWorkingSet, element, ws);
                        IResource resource = (IResource) element.getAdapter(IResource.class );
                        if (resource != null) {
                                removeFromMap(fResourceToWorkingSet, resource, ws);
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

private void [[#variable98837480]](IAdaptable element, IWorkingSet ws) {
   [[#variable98837400]](fElementToWorkingSet, element, ws);
  IResource resource = (IResource) element.getAdapter(IResource.class );
  if (resource != null) {
     [[#variable98837400]](fResourceToWorkingSet, resource, ws);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98837480]]
addElement 
12[[#98837480]]
removeElement 
21[[#98837400]]
addToMap 
22[[#98837400]]
removeFromMap