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.975 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 1924 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
2 | 2 | 1927 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
3 | 2 | 1930 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
4 | 2 | 1933 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
| ||||
if (element instanceof JavaContendedMonitor && ((JavaContendedMonitor) element).getMonitor().isInDeadlock()) { return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR); } |
| ||||
if (element instanceof JavaOwnedMonitor && ((JavaOwnedMonitor) element).getMonitor().isInDeadlock()) { return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR); } |
| ||||
if (element instanceof JavaWaitingThread && ((JavaWaitingThread) element).getThread().isInDeadlock()) { return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR); } |
| ||||
if (element instanceof JavaOwningThread && ((JavaOwningThread) element).getThread().isInDeadlock()) { return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR); } |
| |||
if (element instanceof [[#variable9b4d4b80]]&& (( [[#variable9b4d4b80]]) element). [[#variable9b4d4ac0]]().isInDeadlock()) { return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b4d4b80]] | JavaContendedMonitor |
1 | 2 | [[#9b4d4b80]] | JavaOwnedMonitor |
1 | 3 | [[#9b4d4b80]] | JavaWaitingThread |
1 | 4 | [[#9b4d4b80]] | JavaOwningThread |
2 | 1 | [[#9b4d4ac0]] | getMonitor |
2 | 2 | [[#9b4d4ac0]] | getMonitor |
2 | 3 | [[#9b4d4ac0]] | getThread |
2 | 4 | [[#9b4d4ac0]] | getThread |