CloneSet3722


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24240.958class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12428
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaOwningThread.java
22328
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaWaitingThread.java
Clone Instance
1
Line Count
24
Source Line
28
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaOwningThread.java

        /**
         * The thread object in the thread and monitor model.
         */
        private JavaMonitorThread fThread;

        /**
         * The monitor this thread is waiting for.
         */
        private JavaContendedMonitor fContendedMonitor;

        /**
         * The parent, in the debug view tree.
         */
        private JavaContendedMonitor fParent;

        public JavaOwningThread(JavaMonitorThread thread, JavaContendedMonitor parent) {
                fThread = thread;
                thread.addElement(this );
                fParent = parent;
        }

        public JavaMonitorThread getThread() {
                return fThread;
        }

        public JavaContendedMonitor getParent() {
                return fParent;
        }


Clone Instance
2
Line Count
23
Source Line
28
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaWaitingThread.java

        /**
         * The thread object in the thread and monitor model.
         */
        private JavaMonitorThread fThread;

        /**
         * The monitors this thread owns.
         */
        private JavaOwnedMonitor[] fOwnedMonitors;

        /**
         * The parent, in the debug view tree.
         */
        private JavaOwnedMonitor fParent;

        public JavaWaitingThread(JavaMonitorThread thread, JavaOwnedMonitor parent) {
                fThread = thread;
                thread.addElement(this );
                fParent = parent;
        }

        public JavaMonitorThread getThread() {
                return fThread;
        }

        public JavaOwnedMonitor getParent() {
                return fParent;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * The thread object in the thread and monitor model.
         */
private JavaMonitorThread fThread;

/**
         * The monitor this thread is waiting for.
         */
/**
         * The monitors this thread owns.
         */
private [[#variablea4eacd20]] [[#variablea4eacd80]]  [[#variablea4eacd40]];

/**
         * The parent, in the debug view tree.
         */
private [[#variablea4eacd20]] fParent;

public [[#variable9f000260]](JavaMonitorThread thread, [[#variablea4eacd20]] parent) {
  fThread = thread;
  thread.addElement(this );
  fParent = parent;
}

public JavaMonitorThread getThread() {
  return fThread;
}

public [[#variablea4eacd20]] getParent() {
  return fParent;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4eacd20]]
JavaContendedMonitor 
12[[#a4eacd20]]
JavaOwnedMonitor 
21[[#a4eacd80]]
22[[#a4eacd80]]
[] 
31[[#a4eacd40]]
fContendedMonitor 
32[[#a4eacd40]]
fOwnedMonitors 
41[[#9f000260]]
JavaOwningThread 
42[[#9f000260]]
JavaWaitingThread