# Uses of Interface
org.eclipse.jdt.debug.core.IJavaThread

Packages that use IJavaThread
Package
Description
org.eclipse.jdt.debug.core
Provides an implementation of a debug model based on JPDA (Java Platform Debug Architecture).
org.eclipse.jdt.debug.eval
Provides a set classes and interfaces that support evaluations in the Java debugger.

## Uses of IJavaThread in org.eclipse.jdt.debug.core

Methods in org.eclipse.jdt.debug.core that return IJavaThread
Modifier and Type
Method
Description
`IJavaThread`
IJavaObject.`getOwningThread()`
Returns the threads which owns for the monitor associated to this object, or `null` if no thread owns the monitor.
`IJavaThread`
IJavaBreakpoint.`getThreadFilter(IJavaDebugTarget target)`
Returns the thread in the given target in which this breakpoint is enabled or `null` if this breakpoint is enabled in all threads in the given target.
`IJavaThread[]`
IJavaBreakpoint.`getThreadFilters()`
Returns all thread filters set on this breakpoint.
`IJavaThread[]`
IJavaThreadGroup.`getThreads()`
Returns the threads in this thread group.
`IJavaThread[]`
IJavaObject.`getWaitingThreads()`
Returns the threads waiting for the monitor associated to this object, or `null` if no thread is waiting for the monitor.
Methods in org.eclipse.jdt.debug.core with parameters of type IJavaThread
Modifier and Type
Method
Description
`int`
IJavaBreakpointListener.`breakpointHit(IJavaThread thread, IJavaBreakpoint breakpoint)`
Notification that the given breakpoint has been hit in the specified thread.
`IJavaObject`
IJavaClassType.`newInstance(String signature, IJavaValue[] args, IJavaThread thread)`
Returns a new instance of this class by invoking the constructor with the given signature and arguments in the specified thread.
`void`
IEvaluationRunnable.`run(IJavaThread thread, org.eclipse.core.runtime.IProgressMonitor monitor)`
Runs this evaluation in the specified thread, reporting progress to the given progress monitor.
`IJavaValue`
IJavaClassType.`sendMessage(String selector, String signature, IJavaValue[] args, IJavaThread thread)`
Returns the result of sending the specified message to this class with the given arguments in the specified thread (invokes a static method on this type).
`IJavaValue`
IJavaInterfaceType.`sendMessage(String selector, String signature, IJavaValue[] args, IJavaThread thread)`
Returns the result of sending the specified message to this class with the given arguments in the specified thread (invokes a static method on this type).
`IJavaValue`
IJavaObject.`sendMessage(String selector, String signature, IJavaValue[] args, IJavaThread thread, boolean superSend)`
Returns the result of sending the specified message to this object with the given arguments in the specified thread.
`IJavaValue`
IJavaObject.`sendMessage(String selector, String signature, IJavaValue[] args, IJavaThread thread, String typeSignature)`
Returns the result of sending the specified message on the specified declaring type to this object with the given arguments in the specified thread.
`void`
IJavaBreakpoint.`setThreadFilter(IJavaThread thread)`
Restricts this breakpoint to suspend only in the given thread when encountered in the given thread's target.

## Uses of IJavaThread in org.eclipse.jdt.debug.eval

Methods in org.eclipse.jdt.debug.eval that return IJavaThread
Modifier and Type
Method
Description
`IJavaThread`
IEvaluationResult.`getThread()`
Returns the thread in which the evaluation was performed.
Methods in org.eclipse.jdt.debug.eval with parameters of type IJavaThread
Modifier and Type
Method
Description
`void`
IClassFileEvaluationEngine.`evaluate(String snippet, IJavaThread thread, IEvaluationListener listener, boolean hitBreakpoints)`
Asynchronously evaluates the given snippet in the specified target thread, reporting the result back to the given listener.
`void`
IEvaluationEngine.`evaluate(String snippet, IJavaObject thisContext, IJavaThread thread, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints)`
Asynchronously evaluates the given snippet in the context of the specified type, reporting the result back to the given listener.
`void`
IAstEvaluationEngine.`evaluateExpression(ICompiledExpression expression, IJavaObject object, IJavaThread thread, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints)`
Asynchronously evaluates the given expression in the context of the specified type, reporting the result back to the given listener.
`void`
IAstEvaluationEngine.`evaluateExpression(ICompiledExpression expression, IJavaPrimitiveValue object, IJavaThread thread, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints)`
Asynchronously evaluates the given expression in the context of the specified type, reporting the result back to the given listener.