Java Debug Interface

インタフェース
com.sun.jdi.Method の使用

Method を使用しているパッケージ
com.sun.jdi Java Debug Interface (JDI) のコアパッケージで、ブートストラップ機能以外に、値、 型、およびターゲット VirtualMachine 自体に対するミラーを定義します。  
com.sun.jdi.event このパッケージには、JDI イベントとイベント処理を定義します。 
 

com.sun.jdi での Method の使用
 

Method を返す com.sun.jdi のメソッド
 Method Location.method()
          この Location を含むメソッドを取得します。
 Method ClassType.concreteMethodByName(String name, String signature)
          指定された名前およびシグニチャーを持つこのクラスから認識可能な、単一の非 abstract Method を返します。
 

Method 型のパラメータを持つ com.sun.jdi のメソッド
 Value ObjectReference.invokeMethod(ThreadReference thread, Method method, List arguments, int options)
          ターゲット VM 内のこのオブジェクトの指定された Method を呼び出します。
 Value ClassType.invokeMethod(ThreadReference thread, Method method, List arguments, int options)
          ターゲット VM 内の指定された static Method を呼び出します。
 ObjectReference ClassType.newInstance(ThreadReference thread, Method method, List arguments, int options)
          ターゲット VM 内の指定されたコンストラクタ Method を使って、この型の新規インスタンスを生成します。
 

com.sun.jdi.event での Method の使用
 

Method を返す com.sun.jdi.event のメソッド
 Method MethodExitEvent.method()
          終了したメソッドを返します。
 Method MethodEntryEvent.method()
          呼び出されたメソッドを返します。
 


Java Debug Interface