Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 2 | 4 | 0.958 | class_body_declarations[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 28 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/monitors/JavaOwningThread.java |
2 | 23 | 28 | 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 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; } |
| ||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4eacd20]] | JavaContendedMonitor |
1 | 2 | [[#a4eacd20]] | JavaOwnedMonitor |
2 | 1 | [[#a4eacd80]] | |
2 | 2 | [[#a4eacd80]] | [] |
3 | 1 | [[#a4eacd40]] | fContendedMonitor |
3 | 2 | [[#a4eacd40]] | fOwnedMonitors |
4 | 1 | [[#9f000260]] | JavaOwningThread |
4 | 2 | [[#9f000260]] | JavaWaitingThread |