Uses of Interface
com.sun.jdi.ReferenceType
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.
Provides implementation support for building JShell execution engines.
-
Uses of ReferenceType in com.sun.jdi
Modifier and TypeInterfaceDescriptioninterface
Provides access to the class of an array and the type of its components in the target VM.interface
A mirror of a class in the target VM.interface
A mirror of an interface in the target VM.Modifier and TypeMethodDescriptionLocation.declaringType()
Gets the type to which this Location belongs.TypeComponent.declaringType()
Returns the type in which this component was declared.ObjectReference.referenceType()
Gets theReferenceType
that mirrors the type of this object.ClassObjectReference.reflectedType()
Returns theReferenceType
corresponding to this class object.Modifier and TypeMethodDescriptionVirtualMachine.allClasses()
Returns all loaded types in the target VM.VirtualMachine.classesByName
(String className) Returns the loaded reference types that match a given name.ClassLoaderReference.definedClasses()
Returns a list of all classes defined by this class loader.ReferenceType.nestedTypes()
Returns a List containingReferenceType
objects that are declared within this type and are currently loaded into the Virtual Machine.ClassLoaderReference.visibleClasses()
Returns a list of all classes which this class loader can find by name viaClassLoader::loadClass
,Class::forName
and bytecode linkage in the target VM.Modifier and TypeMethodDescriptionlong[]
VirtualMachine.instanceCounts
(List<? extends ReferenceType> refTypes) Returns the number of instances of each ReferenceType in the 'refTypes' list.void
VirtualMachine.redefineClasses
(Map<? extends ReferenceType, byte[]> classToBytes) All classes given are redefined according to the definitions supplied. -
Uses of ReferenceType in com.sun.jdi.event
Modifier and TypeMethodDescriptionClassPrepareEvent.referenceType()
Returns the reference type for which this event was generated. -
Uses of ReferenceType in com.sun.jdi.request
Modifier and TypeMethodDescriptionExceptionRequest.exception()
Returns exception type for which exception events are requested.Modifier and TypeMethodDescriptionvoid
ClassPrepareRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to be the preparation of the given reference type and any subtypes.void
ExceptionRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose location is in the given reference type or any of its subtypes.void
MethodEntryRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose method is in the given reference type or any of its subtypes.void
MethodExitRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose method is in the given reference type or any of its subtypes.void
MonitorContendedEnteredRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose method is in the given reference type or any of its subtypes.void
MonitorContendedEnterRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose method is in the given reference type or any of its subtypes.void
MonitorWaitedRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose monitor object is of the given reference type or any of its subtypes.void
MonitorWaitRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose monitor object is of the given reference type or any of its subtypes.void
StepRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose location is in the given reference type or any of its subtypes.void
WatchpointRequest.addClassFilter
(ReferenceType refType) Restricts the events generated by this request to those whose location is in the given reference type or any of its subtypes.EventRequestManager.createExceptionRequest
(ReferenceType refType, boolean notifyCaught, boolean notifyUncaught) Creates a new disabledExceptionRequest
. -
Uses of ReferenceType in jdk.jshell.execution
Modifier and TypeMethodDescriptionprotected ReferenceType
JdiExecutionControl.referenceType
(VirtualMachine vm, String name) Returns the JDIReferenceType
corresponding to the specified class name.