CloneSet3291


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.985class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15725
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java
24736
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIModelPresentation.java
Clone Instance
1
Line Count
5
Source Line
725
Source File
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);
        }


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

        /**
         * @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);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2b4f620]]
getJavaContendedMonitorImage 
12[[#b2b4f620]]
getJavaOwnedMonitorImage 
21[[#b2b4f5a0]]
JavaContendedMonitor 
22[[#b2b4f5a0]]
JavaOwnedMonitor 
31[[#b2b4f4a0]]
IMG_OBJS_CONTENDED_MONITOR 
32[[#b2b4f4a0]]
IMG_OBJS_OWNED_MONITOR