Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 192 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/LogicalPackagesProvider.java |
2 | 11 | 313 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/StandardJavaElementContentProvider.java |
| ||||
/* * @since 3.0 */ protected boolean isClassPathChange(IJavaElementDelta delta) { // need to test the flags only for package fragment roots if (delta.getElement().getElementType() != IJavaElement.PACKAGE_FRAGMENT_ROOT) return false; int flags = delta.getFlags(); return (delta.getKind() == IJavaElementDelta.CHANGED && ((flags& IJavaElementDelta.F_ADDED_TO_CLASSPATH) != 0) || ((flags& IJavaElementDelta.F_REMOVED_FROM_CLASSPATH) != 0) || ((flags& IJavaElementDelta.F_REORDER) != 0)); } |
| ||||
/** * Note: This method is for internal use only. Clients should not call this method. */ protected boolean isClassPathChange(IJavaElementDelta delta) { // need to test the flags only for package fragment roots if (delta.getElement().getElementType() != IJavaElement.PACKAGE_FRAGMENT_ROOT) return false; int flags = delta.getFlags(); return (delta.getKind() == IJavaElementDelta.CHANGED && ((flags& IJavaElementDelta.F_ADDED_TO_CLASSPATH) != 0) || ((flags& IJavaElementDelta.F_REMOVED_FROM_CLASSPATH) != 0) || ((flags& IJavaElementDelta.F_REORDER) != 0)); } |
| |||
/** * Note: This method is for internal use only. Clients should not call this method. */ /* * @since 3.0 */ protected boolean isClassPathChange(IJavaElementDelta delta) { // need to test the flags only for package fragment roots if (delta.getElement().getElementType() != IJavaElement.PACKAGE_FRAGMENT_ROOT) return false; int flags = delta.getFlags(); return (delta.getKind() == IJavaElementDelta.CHANGED && ((flags&IJavaElementDelta.F_ADDED_TO_CLASSPATH) != 0) || ((flags&IJavaElementDelta.F_REMOVED_FROM_CLASSPATH) != 0) || ((flags&IJavaElementDelta.F_REORDER) != 0)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |