CloneSet4395


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2420.962executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1244
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/JavaElementPropertyTester.java
22234
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaDebugUtils.java
3237
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JavaTypeExtender.java
421030
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java
Clone Instance
1
Line Count
2
Source Line
44
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/JavaElementPropertyTester.java

                if (receiver instanceof IAdaptable) {
                        javaElement = (IJavaElement) ((IAdaptable) receiver).getAdapter(IJavaElement.class );
                }


Clone Instance
2
Line Count
2
Source Line
234
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaDebugUtils.java

               if (sourceElement instanceof IAdaptable) {
            javaElement = (IJavaElement) ((IAdaptable) sourceElement).getAdapter(IJavaElement.class );
               }


Clone Instance
3
Line Count
2
Source Line
37
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JavaTypeExtender.java

                if (receiver instanceof IAdaptable) {
                        javaElement = (IJavaElement) ((IAdaptable) receiver).getAdapter(IJavaElement.class );
                }


Clone Instance
4
Line Count
2
Source Line
1030
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java

                if (obj instanceof IAdaptable) {
                        je = (IJavaElement) ((IAdaptable) obj).getAdapter(IJavaElement.class );
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if ( [[#variable774ea1c0]]instanceof IAdaptable) {
   [[#variable774ea280]]= (IJavaElement) ((IAdaptable)  [[#variable774ea1c0]]).getAdapter(IJavaElement.class );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#774ea1c0]]
receiver 
12[[#774ea1c0]]
sourceElement 
13[[#774ea1c0]]
obj 
14[[#774ea1c0]]
receiver 
21[[#774ea280]]
javaElement 
22[[#774ea280]]
javaElement 
23[[#774ea280]]
je 
24[[#774ea280]]
javaElement