Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.987 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 120 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationLabelProvider.java |
2 | 6 | 131 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/model/JavaSynchronizationLabelProvider.java |
| ||||
/** * {@inheritDoc} */ protected boolean hasDecendantConflicts( final Object element) { final ISynchronizationContext context = getContext(); final IResource resource = JavaModelProvider.getResource(element); if (context != null && resource != null) return context.getDiffTree().getProperty(resource.getFullPath(), IDiffTree.P_HAS_DESCENDANT_CONFLICTS); return super.hasDecendantConflicts(element); } |
| ||||
/** * {@inheritDoc} */ protected boolean isBusy( final Object element) { final ISynchronizationContext context = getContext(); final IResource resource = JavaModelProvider.getResource(element); if (context != null && resource != null) return context.getDiffTree().getProperty(resource.getFullPath(), IDiffTree.P_BUSY_HINT); return super.isBusy(element); } |
| |||
/** * {@inheritDoc} */ protected boolean [[#variable58e69b80]]( final Object element) { final ISynchronizationContext context = getContext(); final IResource resource = JavaModelProvider.getResource(element); if (context != null && resource != null) return context.getDiffTree().getProperty(resource.getFullPath(), IDiffTree. [[#variable58e69b00]]); return super. [[#variable58e69b80]](element); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58e69b80]] | hasDecendantConflicts |
1 | 2 | [[#58e69b80]] | isBusy |
2 | 1 | [[#58e69b00]] | P_HAS_DESCENDANT_CONFLICTS |
2 | 2 | [[#58e69b00]] | P_BUSY_HINT |