Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 725 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
2 | 4 | 736 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java |
| ||||
/** * @param monitor * @return */ private Image getJavaContendedMonitorImage(JavaContendedMonitor monitor) { int flag = monitor.getMonitor().isInDeadlock() ? JDIImageDescriptor.IN_DEADLOCK: 0; JDIImageDescriptor descriptor = new JDIImageDescriptor( getImageDescriptor(JavaDebugImages.IMG_OBJS_CONTENDED_MONITOR), flag); return getDebugImageRegistry().get(descriptor); } |
| ||||
/** * @param monitor * @return */ private Image getJavaOwnedMonitorImage(JavaOwnedMonitor monitor) { int flag = monitor.getMonitor().isInDeadlock() ? JDIImageDescriptor.IN_DEADLOCK: 0; JDIImageDescriptor descriptor = new JDIImageDescriptor(getImageDescriptor(JavaDebugImages.IMG_OBJS_OWNED_MONITOR), flag); return getDebugImageRegistry().get(descriptor); } |
| |||
/** * @param monitor * @return */ private Image [[#variableb2b4f620]]( [[#variableb2b4f5a0]] monitor) { int flag = monitor.getMonitor().isInDeadlock() ? JDIImageDescriptor.IN_DEADLOCK: 0; JDIImageDescriptor descriptor = new JDIImageDescriptor(getImageDescriptor(JavaDebugImages. [[#variableb2b4f4a0]]), flag); return getDebugImageRegistry().get(descriptor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2b4f620]] | getJavaContendedMonitorImage |
1 | 2 | [[#b2b4f620]] | getJavaOwnedMonitorImage |
2 | 1 | [[#b2b4f5a0]] | JavaContendedMonitor |
2 | 2 | [[#b2b4f5a0]] | JavaOwnedMonitor |
3 | 1 | [[#b2b4f4a0]] | IMG_OBJS_CONTENDED_MONITOR |
3 | 2 | [[#b2b4f4a0]] | IMG_OBJS_OWNED_MONITOR |