- 
- All Superinterfaces:
- Mirror,- ObjectReference,- Value
 
 public interface ModuleReference extends ObjectReference A module in the target VM.Any method on ModuleReferencewhich directly or indirectly takesModuleReferenceas a parameter may throwVMDisconnectedExceptionif the target VM is disconnected and theVMDisconnectEventhas been or is available to be read from theEventQueue.Any method on ModuleReferencewhich directly or indirectly takesModuleReferenceas a parameter may throwVMOutOfMemoryExceptionif the target VM has run out of memory.Any method on ModuleReferenceor which directly or indirectly takesModuleReferenceas a parameter may throwInvalidModuleExceptionif the mirrored module has been unloaded. Not all target virtual machines support this class. UseVirtualMachine.canGetModuleInfo()to determine if the class is supported.- Since:
- 9
 
- 
- 
Field Summary- 
Fields declared in interface com.sun.jdi.ObjectReferenceINVOKE_NONVIRTUAL, INVOKE_SINGLE_THREADED
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoaderReferenceclassLoader()Returns theClassLoaderReferenceobject for this module.Stringname()Returns the module name.- 
Methods declared in interface com.sun.jdi.MirrortoString, virtualMachine
 - 
Methods declared in interface com.sun.jdi.ObjectReferencedisableCollection, enableCollection, entryCount, equals, getValue, getValues, hashCode, invokeMethod, isCollected, owningThread, referenceType, referringObjects, setValue, uniqueID, waitingThreads
 
- 
 
- 
- 
- 
Method Detail- 
nameString name() Returns the module name. This method returnsnullif this module is an unnamed module.- Returns:
- the name of this module.
 
 - 
classLoaderClassLoaderReference classLoader() Returns theClassLoaderReferenceobject for this module.- Returns:
- the ClassLoaderReferenceobject for this module.
 
 
- 
 
-