Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 2 | 0.962 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 44 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/JavaElementPropertyTester.java |
2 | 2 | 234 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/JavaDebugUtils.java |
3 | 2 | 37 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JavaTypeExtender.java |
4 | 2 | 1030 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocOptionsManager.java |
| ||||
if (receiver instanceof IAdaptable) { javaElement = (IJavaElement) ((IAdaptable) receiver).getAdapter(IJavaElement.class ); } |
| ||||
if (sourceElement instanceof IAdaptable) { javaElement = (IJavaElement) ((IAdaptable) sourceElement).getAdapter(IJavaElement.class ); } |
| ||||
if (receiver instanceof IAdaptable) { javaElement = (IJavaElement) ((IAdaptable) receiver).getAdapter(IJavaElement.class ); } |
| ||||
if (obj instanceof IAdaptable) { je = (IJavaElement) ((IAdaptable) obj).getAdapter(IJavaElement.class ); } |
| |||
if ( [[#variable774ea1c0]]instanceof IAdaptable) { [[#variable774ea280]]= (IJavaElement) ((IAdaptable) [[#variable774ea1c0]]).getAdapter(IJavaElement.class ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#774ea1c0]] | receiver |
1 | 2 | [[#774ea1c0]] | sourceElement |
1 | 3 | [[#774ea1c0]] | obj |
1 | 4 | [[#774ea1c0]] | receiver |
2 | 1 | [[#774ea280]] | javaElement |
2 | 2 | [[#774ea280]] | javaElement |
2 | 3 | [[#774ea280]] | je |
2 | 4 | [[#774ea280]] | javaElement |