Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 81 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java |
2 | 14 | 67 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesPropertyPage.java |
| ||||
IPackageFragmentRoot root = (IPackageFragmentRoot) elem; IClasspathEntry entry = root.getRawClasspathEntry(); if (entry == null) { fIsValidElement = false; } else { if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) { fContainerPath = entry.getPath(); fEntry = JavaModelUtil.getClasspathEntryToEdit(elem.getJavaProject(), fContainerPath, root.getPath()); fIsValidElement = fEntry != null; } else { fContainerPath = null; fEntry = entry; fIsValidElement = true; } } |
| ||||
IPackageFragmentRoot root = (IPackageFragmentRoot) elem; IClasspathEntry entry = root.getRawClasspathEntry(); if (entry == null) { fIsValidElement = false; } else { if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) { fContainerPath = entry.getPath(); fEntry = JavaModelUtil.getClasspathEntryToEdit(elem.getJavaProject(), fContainerPath, root.getPath()); fIsValidElement = fEntry != null; } else { fContainerPath = null; fEntry = entry; fIsValidElement = true; } } |
| |||
IPackageFragmentRoot root = (IPackageFragmentRoot) elem; IClasspathEntry entry = root.getRawClasspathEntry(); if (entry == null) { fIsValidElement = false; } else { if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) { fContainerPath = entry.getPath(); fEntry = JavaModelUtil.getClasspathEntryToEdit(elem.getJavaProject(), fContainerPath, root.getPath()); fIsValidElement = fEntry != null; } else { fContainerPath = null; fEntry = entry; fIsValidElement = true; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |