|
Java Debug Interface | ||||||||
| 前 次 | フレームあり フレームなし | ||||||||
| Method を使用しているパッケージ | |
|---|---|
| com.sun.jdi | Java Debug Interface (JDI) のコアパッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体に対するミラーを定義します。 |
| com.sun.jdi.event | このパッケージは、JDI イベントとイベント処理を定義します。 |
| com.sun.jdi での Method の使用 |
|---|
| Method を返す com.sun.jdi のメソッド | |
|---|---|
Method |
ClassType.concreteMethodByName(String name,
String signature)
指定された名前およびシグニチャーを持つこのクラスから認識可能な、単一の非 abstract Method を返します。 |
Method |
Location.method()
この Location を含むメソッドを取得します。 |
| Method 型の引数を持つ型を返す com.sun.jdi のメソッド | |
|---|---|
List<Method> |
ReferenceType.allMethods()
この型、そのスーパークラス、実装インタフェース、およびスーパーインタフェース、あるいはそのいずれかで宣言された各 Method を含むリストを返します。 |
List<Method> |
ReferenceType.methods()
この型で直接宣言された各 Method のリストを返します。 |
List<Method> |
ReferenceType.methodsByName(String name)
指定された名前を持つ各可視 Method を含む List を返します。 |
List<Method> |
ReferenceType.methodsByName(String name,
String signature)
指定の名前とシグニチャーを持つ各可視 Method を含むリストを返します。 |
List<Method> |
ReferenceType.visibleMethods()
この型によって宣言された、または継承された各 Method のリストを返します。 |
| Method 型のパラメータを持つ com.sun.jdi のメソッド | |
|---|---|
Value |
ObjectReference.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options)
ターゲット VM 内のこのオブジェクトの指定された Method を呼び出します。 |
Value |
ClassType.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options)
ターゲット VM 内の指定された static Method を呼び出します。 |
ObjectReference |
ClassType.newInstance(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options)
ターゲット VM 内の指定されたコンストラクタ Method を使って、この型の新規インスタンスを生成します。 |
| com.sun.jdi.event での Method の使用 |
|---|
| Method を返す com.sun.jdi.event のメソッド | |
|---|---|
Method |
MethodExitEvent.method()
終了したメソッドを返します。 |
Method |
MethodEntryEvent.method()
呼び出されたメソッドを返します。 |
|
Java Debug Interface | ||||||||
| 前 次 | フレームあり フレームなし | ||||||||