-
- All Known Subinterfaces:
-
AccessWatchpointEvent,AccessWatchpointRequest,ArrayReference,ArrayType,BooleanType,BooleanValue,BreakpointEvent,BreakpointRequest,ByteType,ByteValue,CharType,CharValue,ClassLoaderReference,ClassObjectReference,ClassPrepareEvent,ClassPrepareRequest,ClassType,ClassUnloadEvent,ClassUnloadRequest,DoubleType,DoubleValue,Event,EventQueue,EventRequest,EventRequestManager,EventSet,ExceptionEvent,ExceptionRequest,Field,FloatType,FloatValue,IntegerType,IntegerValue,InterfaceType,LocalVariable,LocatableEvent,Location,LongType,LongValue,方法,MethodEntryEvent,MethodEntryRequest,MethodExitEvent,MethodExitRequest,ModificationWatchpointEvent,ModificationWatchpointRequest,ModuleReference,MonitorContendedEnteredEvent,MonitorContendedEnteredRequest,MonitorContendedEnterEvent,MonitorContendedEnterRequest,MonitorInfo,MonitorWaitedEvent,MonitorWaitedRequest,MonitorWaitEvent,MonitorWaitRequestMonitorWaitRequest,ObjectReference,PathSearchingVirtualMachine,PrimitiveType,PrimitiveValue,ReferenceType,ShortType,ShortValue,StackFrame,StepEvent,StepRequest,StringReference,ThreadDeathEvent,ThreadDeathRequest,ThreadGroupReference,ThreadReference,ThreadStartEvent,ThreadStartRequest,Type,TypeComponent,Value,VirtualMachine,VMDeathEvent,VMDeathRequest,VMDisconnectEvent,VMStartEvent,VoidType,VoidValue,WatchpointEvent,WatchpointRequest
public interface Mirror调试器使用的代理来检查或操纵另一个虚拟机中的某个实体。 镜像是此包的界面层次结构的根。 镜像可以是目标VM(ObjectReference)中的对象,原始值(例如,IntegerValue),类型(例如,ReferenceType),动态应用程序状态(例如,StackFrame)以及甚至调试器特定构造(例如, ,BreakpointRequest)。VirtualMachine本身也被认为是镜像,表示目标VM的复合状态。不能保证目标虚拟机中的特定实体将映射到单个镜像实例。 实现者可以自由决定是否将单个镜像用于某些或所有镜像。 此接口的客户端应始终使用
equals来比较两个镜像之间的相等性。Mirror上直接或间接使用Mirror作为参数的任何方法(例如,作为List的元素),如果镜像来自不同的虚拟机,则会抛出VMMismatchException。- 从以下版本开始:
- 1.3
- 另请参见:
-
VirtualMachine
-
-
方法摘要
所有方法 接口方法 抽象方法 Modifier and Type 方法 描述 StringtoString()返回描述此镜像的StringVirtualMachinevirtualMachine()获取此镜像所属的VirtualMachine。
-
-
-
方法详细信息
-
virtualMachine
VirtualMachine virtualMachine()
获取此镜像所属的VirtualMachine。 镜像必须与VirtualMachine相关联才能有任何意义。- 结果
-
这个镜像是代理的
VirtualMachine。
-
-