com.sun.jdi
インタフェース Mirror
- 既知のサブインタフェースの一覧:
- 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, Method, MethodEntryEvent, MethodEntryRequest, MethodExitEvent, MethodExitRequest, ModificationWatchpointEvent, ModificationWatchpointRequest, MonitorContendedEnteredEvent, MonitorContendedEnteredRequest, MonitorContendedEnterEvent, MonitorContendedEnterRequest, MonitorInfo, MonitorWaitedEvent, MonitorWaitedRequest, MonitorWaitEvent, MonitorWaitRequest, 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
別の仮想マシン内のエンティティーを検査または操作するためにデバッガが使用するプロキシです。Mirror は、このパッケージのインタフェース階層のルートです。ミラーは、ターゲット VM 内のオブジェクト (ObjectReference
)、プリミティブ値 (IntegerValue
など)、型 (ReferenceType
など)、動的なアプリケーション状態 (StackFrame
など)、およびデバッガ固有の構造 (BreakpointRequest
など) を対象とするプロキシとして機能します。VirtualMachine
自体もターゲット VM の複合状態を表現するミラーと見なされます。
ターゲット VM 内の特定のエンティティーが、Mirror の単一インスタンスにマップするという保証はありません。いくつかのまたはすべてのミラーに対して単一のミラーを使用するかどうかを、実装元は自由に決定できます。このインタフェースのクライアントは、常に equals
を使って 2 つのミラーを比較して、等しいかどうかを調べる必要があります。
List
オブジェクト内の要素として Mirror
を使う場合など、Mirror
を直接的または間接的にパラメータとして取る、Mirror
の任意のメソッドは、別の仮想マシンによって作成されたミラーが存在する場合に VMMismatchException
をスローします。
- 導入されたバージョン:
- 1.3
- 関連項目:
VirtualMachine
virtualMachine
VirtualMachine virtualMachine()
- このミラーが属する VirtualMachine を取得します。ミラーがなんらかの意味を持つためには、VirtualMachine と関連している必要があります。
- 戻り値:
- このミラーがプロキシとして機能する
VirtualMachine
。
toString
String toString()
- このミラーについて説明する文字列を返します。
- オーバーライド:
- クラス
Object
内の toString
- 戻り値:
- このミラーについて説明する文字列。