CloneSet1906


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5820.958block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15158
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersPreferencePage.java
25109
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/LibraryContentProvider.java
36116
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyContentProvider.java
45158
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java
5596
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/JARFileSelectionDialog.java
65212
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
75206
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java
85267
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
Clone Instance
1
Line Count
5
Source Line
158
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersPreferencePage.java

                                                              {
                                if (element instanceof DetailFormatter) {
                                        return ((DetailFormatter) element).getTypeName();
                                }
                                return null;
                                                              }


Clone Instance
2
Line Count
5
Source Line
109
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/LibraryContentProvider.java

                                                {
                if (element instanceof SubElement) {
                        return ((SubElement) element).getParent();
                }
                return null;
                                                }


Clone Instance
3
Line Count
6
Source Line
116
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyContentProvider.java

                                            {
        if (element instanceof MethodWrapper) {
            return ((MethodWrapper) element).getParent();
        }

        return null;
                                            }


Clone Instance
4
Line Count
5
Source Line
158
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java

                                                        {
                        if (element instanceof IMethodBinding) {
                                return ((IMethodBinding) element).getDeclaringClass();
                        }
                        return null;
                                                        }


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

                                                        {
                        if (element instanceof File) {
                                return ((File) element).getParentFile();
                        }
                        return null;
                                                        }


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

                                                                                   {
                        if (element instanceof CPListElementAttribute) {
                                return ((CPListElementAttribute) element).getParent();
                        }
                        return null;
                                                                                   }


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

                                                                                   {
                        if (element instanceof CPListElementAttribute) {
                                return ((CPListElementAttribute) element).getParent();
                        }
                        return null;
                                                                                   }


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

                                                                                   {
                        if (element instanceof CPListElementAttribute) {
                                return ((CPListElementAttribute) element).getParent();
                        }
                        return null;
                                                                                   }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  if (element instanceof [[#variableba695520]]) {
    return (( [[#variableba695520]]) element). [[#variable50283760]]();
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ba695520]]
CPListElementAttribute 
12[[#ba695520]]
DetailFormatter 
13[[#ba695520]]
SubElement 
14[[#ba695520]]
MethodWrapper 
15[[#ba695520]]
IMethodBinding 
16[[#ba695520]]
File 
17[[#ba695520]]
CPListElementAttribute 
18[[#ba695520]]
CPListElementAttribute 
21[[#50283760]]
getParent 
22[[#50283760]]
getTypeName 
23[[#50283760]]
getParent 
24[[#50283760]]
getParent 
25[[#50283760]]
getDeclaringClass 
26[[#50283760]]
getParentFile 
27[[#50283760]]
getParent 
28[[#50283760]]
getParent