CloneSet2462


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2420.975statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121924
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java
221927
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java
321930
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java
421933
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java
Clone Instance
1
Line Count
2
Source Line
1924
Source File
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);
                }


Clone Instance
2
Line Count
2
Source Line
1927
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java

                if (element instanceof JavaOwnedMonitor && ((JavaOwnedMonitor) element).getMonitor().isInDeadlock()) {
                        return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR);
                }


Clone Instance
3
Line Count
2
Source Line
1930
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java

                if (element instanceof JavaWaitingThread && ((JavaWaitingThread) element).getThread().isInDeadlock()) {
                        return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR);
                }


Clone Instance
4
Line Count
2
Source Line
1933
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java

                if (element instanceof JavaOwningThread && ((JavaOwningThread) element).getThread().isInDeadlock()) {
                        return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (element instanceof [[#variable9b4d4b80]]&& (( [[#variable9b4d4b80]]) element). [[#variable9b4d4ac0]]().isInDeadlock()) {
  return PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry().get(IJDIPreferencesConstants.PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b4d4b80]]
JavaContendedMonitor 
12[[#9b4d4b80]]
JavaOwnedMonitor 
13[[#9b4d4b80]]
JavaWaitingThread 
14[[#9b4d4b80]]
JavaOwningThread 
21[[#9b4d4ac0]]
getMonitor 
22[[#9b4d4ac0]]
getMonitor 
23[[#9b4d4ac0]]
getThread 
24[[#9b4d4ac0]]
getThread