CloneSet5575


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddLibraryToBuildpathAction.java
26169
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java
Clone Instance
1
Line Count
6
Source Line
189
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddLibraryToBuildpathAction.java

        public boolean canHandle(IStructuredSelection selection) {
                if (selection.size() == 1 && selection.getFirstElement() instanceof IJavaProject) {
                        fSelectedProject = (IJavaProject) selection.getFirstElement();
                        return true;
                }
                return false;
        }


Clone Instance
2
Line Count
6
Source Line
169
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java

                /**
                 * {@inheritDoc}
                 */
                public boolean selectionChanged(IStructuredSelection selection) {
                        if (selection.size() == 1 && selection.getFirstElement() instanceof IJavaProject) {
                                fSelectedProject = (IJavaProject) selection.getFirstElement();
                                return true;
                        }
                        return false;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
                 * {@inheritDoc}
                 */
public boolean  [[#variable9916f8a0]](IStructuredSelection selection) {
  if (selection.size() == 1 && selection.getFirstElement() instanceof IJavaProject) {
    fSelectedProject = (IJavaProject) selection.getFirstElement();
    return true;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9916f8a0]]
selectionChanged 
12[[#9916f8a0]]
canHandle