Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.967 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 370 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/junit/wizards/NewTestCaseWizardPageTwo.java |
2 | 6 | 34 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocMemberContentProvider.java |
3 | 4 | 234 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceTabPage.java |
| ||||
/* * @see ITreeContentProvider#getParent(Object) */ public Object getParent(Object element) { if (element instanceof IMethod) return ((IMethod) element).getDeclaringType(); return null; } |
| ||||
/* * @see ITreeContentProvider#getParent(Object) */ public Object getParent(Object element) { //@test //System.out.println(element.getClass().toString()); if (element instanceof IPackageFragment) return ((IPackageFragment) element).getParent(); return null; } |
| ||||
public Object getParent(Object element) { if (element instanceof InnerNode) return ((InnerNode) element).getParent(); return null; } |
| |||
/* * @see ITreeContentProvider#getParent(Object) */ /* * @see ITreeContentProvider#getParent(Object) */ public Object getParent(Object element) { //@test //System.out.println(element.getClass().toString()); if (element instanceof [[#variableb2e8e260]]) return (( [[#variableb2e8e260]]) element). [[#variableb2e8e200]](); return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2e8e260]] | InnerNode |
1 | 2 | [[#b2e8e260]] | IPackageFragment |
1 | 3 | [[#b2e8e260]] | IMethod |
2 | 1 | [[#b2e8e200]] | getParent |
2 | 2 | [[#b2e8e200]] | getParent |
2 | 3 | [[#b2e8e200]] | getDeclaringType |