Uses of Interface
com.sun.jdi.ObjectReference
Packages that use ObjectReference
Package
Description
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
This package defines JDI events and event processing.
This package is used to request that a JDI
event be sent under specified conditions.
-
Uses of ObjectReference in com.sun.jdi
Subinterfaces of ObjectReference in com.sun.jdiModifier and TypeInterfaceDescriptioninterfaceProvides access to an array object and its components in the target VM.interfaceA class loader object from the target VM.interfaceAn instance of java.lang.Class from the target VM.interfaceA module in the target VM.interfaceA string object from the target VM.interfaceA thread group object from the target VM.interfaceA thread object from the target VM.Methods in com.sun.jdi that return ObjectReferenceModifier and TypeMethodDescriptionThreadReference.currentContendedMonitor()Returns anObjectReferencefor the monitor, if any, for which this thread is currently waiting.InvocationException.exception()MonitorInfo.monitor()Returns theObjectReferenceobject for the monitor.ClassType.newInstance(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Constructs a new instance of this type, using the given constructorMethodin the target VM.StackFrame.thisObject()Returns the value of 'this' for the current frame.Methods in com.sun.jdi that return types with arguments of type ObjectReferenceModifier and TypeMethodDescriptionReferenceType.instances(long maxInstances) Returns instances of this ReferenceType.ThreadReference.ownedMonitors()Returns a List containing anObjectReferencefor each monitor owned by the thread.ObjectReference.referringObjects(long maxReferrers) Returns objects that directly reference this object.Methods in com.sun.jdi with parameters of type ObjectReferenceModifier and TypeMethodDescriptionvoidThreadReference.stop(ObjectReference throwable) Stops this thread with an asynchronous exception.Constructors in com.sun.jdi with parameters of type ObjectReference -
Uses of ObjectReference in com.sun.jdi.event
Methods in com.sun.jdi.event that return ObjectReferenceModifier and TypeMethodDescriptionExceptionEvent.exception()Gets the thrown exception object.MonitorContendedEnteredEvent.monitor()Returns the monitor that was entered.MonitorContendedEnterEvent.monitor()Returns the method that was entered.MonitorWaitedEvent.monitor()Returns the monitor object this thread waited on.MonitorWaitEvent.monitor()Returns the monitor object that the thread about to wait.WatchpointEvent.object()Returns the object whose field is about to be accessed/modified. -
Uses of ObjectReference in com.sun.jdi.request
Methods in com.sun.jdi.request with parameters of type ObjectReferenceModifier and TypeMethodDescriptionvoidBreakpointRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance is the object specified.voidExceptionRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMethodEntryRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMethodExitRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorContendedEnteredRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorContendedEnterRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorWaitedRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorWaitRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidStepRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidWatchpointRequest.addInstanceFilter(ObjectReference instance) Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.