CloneSet502


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
61020.971block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16135
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddArchiveToBuildpathAction.java
26239
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddFolderToBuildpathAction.java
36180
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddLibraryToBuildpathAction.java
46134
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddSelectedLibraryToBuildpathAction.java
5670
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ConfigureBuildPathAction.java
66164
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/EditOutputFolderAction.java
76135
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ExcludeFromBuildpathAction.java
86132
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/GenerateBuildPathActionGroup.java
96126
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/IncludeToBuildpathAction.java
106212
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java
Clone Instance
1
Line Count
6
Source Line
135
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddArchiveToBuildpathAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


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

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


Clone Instance
3
Line Count
6
Source Line
180
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddLibraryToBuildpathAction.java

                                                                  {
                ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                  }


Clone Instance
4
Line Count
6
Source Line
134
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/AddSelectedLibraryToBuildpathAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


Clone Instance
5
Line Count
6
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ConfigureBuildPathAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


Clone Instance
6
Line Count
6
Source Line
164
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/EditOutputFolderAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


Clone Instance
7
Line Count
6
Source Line
135
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ExcludeFromBuildpathAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


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

                                                                          {
            ISelection selection = event.getSelection();
            if (selection instanceof IStructuredSelection) {
                        setEnabled(selectionChanged((IStructuredSelection) selection));
            }
            else   {
                        setEnabled(selectionChanged(StructuredSelection.EMPTY));
            }
                                                                          }


Clone Instance
9
Line Count
6
Source Line
126
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/IncludeToBuildpathAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


Clone Instance
10
Line Count
6
Source Line
212
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/RemoveFromBuildpathAction.java

                                                                        {
                final ISelection selection = event.getSelection();
                if (selection instanceof IStructuredSelection) {
                        setEnabled(canHandle((IStructuredSelection) selection));
                }
                else   {
                        setEnabled(canHandle(StructuredSelection.EMPTY));
                }
                                                                        }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variableb6281480]]ISelection selection = event.getSelection();
  if (selection instanceof IStructuredSelection) {
    setEnabled( [[#variableb62812a0]]((IStructuredSelection) selection));
  }
  else {
    setEnabled( [[#variableb62812a0]](StructuredSelection.EMPTY));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6281480]]
final 
12[[#b6281480]]
13[[#b6281480]]
14[[#b6281480]]
final 
15[[#b6281480]]
final 
16[[#b6281480]]
final 
17[[#b6281480]]
final 
18[[#b6281480]]
final 
19[[#b6281480]]
final 
110[[#b6281480]]
final 
21[[#b62812a0]]
canHandle 
22[[#b62812a0]]
selectionChanged 
23[[#b62812a0]]
canHandle 
24[[#b62812a0]]
canHandle 
25[[#b62812a0]]
canHandle 
26[[#b62812a0]]
canHandle 
27[[#b62812a0]]
canHandle 
28[[#b62812a0]]
canHandle 
29[[#b62812a0]]
canHandle 
210[[#b62812a0]]
canHandle