CloneSet1727


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5810.974class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15339
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java
25269
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
35171
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
45374
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java
55538
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java
65231
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
75149
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
85191
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariablePathDialogField.java
Clone Instance
1
Line Count
5
Source Line
339
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java

        private Shell getShell() {
                if (fSWTWidget != null) {
                        return fSWTWidget.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
2
Line Count
5
Source Line
269
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java

        private Shell getShell() {
                if (fSWTWidget != null) {
                        return fSWTWidget.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
3
Line Count
5
Source Line
171
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java

        private Shell getShell() {
                if (fSWTControl != null) {
                        return fSWTControl.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
4
Line Count
5
Source Line
374
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java

        private Shell getShell() {
                if (fSWTControl != null) {
                        return fSWTControl.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
5
Line Count
5
Source Line
538
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceAttachmentBlock.java

        private Shell getShell() {
                if (fSWTWidget != null) {
                        return fSWTWidget.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
6
Line Count
5
Source Line
231
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java

        private Shell getShell() {
                if (fSWTControl != null) {
                        return fSWTControl.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
7
Line Count
5
Source Line
149
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java

        private Shell getShell() {
                if (fControl != null) {
                        return fControl.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone Instance
8
Line Count
5
Source Line
191
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariablePathDialogField.java

        private Shell getShell() {
                if (fBrowseVariableButton != null) {
                        return fBrowseVariableButton.getShell();
                }
                return JavaPlugin.getActiveWorkbenchShell();
        }


Clone AbstractionParameter Count: 1Parameter Bindings

private Shell getShell() {
  if ( [[#variable5aa12ec0]]!= null) {
    return [[#variable5aa12ec0]].getShell();
  }
  return JavaPlugin.getActiveWorkbenchShell();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5aa12ec0]]
fSWTControl 
12[[#5aa12ec0]]
fSWTWidget 
13[[#5aa12ec0]]
fBrowseVariableButton 
14[[#5aa12ec0]]
fControl 
15[[#5aa12ec0]]
fSWTControl 
16[[#5aa12ec0]]
fSWTWidget 
17[[#5aa12ec0]]
fSWTControl 
18[[#5aa12ec0]]
fSWTWidget