クラス
com.sun.jdi.ClassNotLoadedExceptionの使用
| パッケージ | 説明 |
|---|---|
| com.sun.jdi |
これは、Java Debug Interface (JDI)のコア・パッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体のミラーを定義します。
|
-
com.sun.jdiでのClassNotLoadedExceptionの使用
ClassNotLoadedExceptionをスローするcom.sun.jdiのメソッド 修飾子と型 メソッド 説明 List<Type>Method. argumentTypes()このメソッドの各仮パラメータの型を含むリストを返します。TypeArrayType. componentType()この配列の宣言時に指定された要素の型を返します。voidThreadReference. forceEarlyReturn(Value value)return文に到達する前に強制的にメソッドを復帰させます。ValueClassType. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内の指定されたstaticMethodを呼び出します。default ValueInterfaceType. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内の指定されたstaticMethodを呼び出します。ValueObjectReference. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内のこのオブジェクトで指定されたMethodを呼び出します。ObjectReferenceClassType. newInstance(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内の指定されたコンストラクタのMethodを使って、この型の新規インスタンスを構築します。TypeMethod. returnType()このメソッドの宣言で指定された戻り値の型を返します。voidArrayReference. setValue(int index, Value value)配列コンポーネントを別の値に置き換えます。voidClassType. setValue(Field field, Value value)値をstaticフィールドに代入します。voidObjectReference. setValue(Field field, Value value)このオブジェクトのインスタンス・フィールドまたはstaticフィールドの値を設定します。voidStackFrame. setValue(LocalVariable variable, Value value)このフレームのLocalVariableのValueを設定します。voidArrayReference. setValues(int index, List<? extends Value> values, int srcIndex, int length)配列コンポーネントのある範囲を別の値に置き換えます。voidArrayReference. setValues(List<? extends Value> values)すべての配列コンポーネントを別の値に置き換えます。TypeField. type()このフィールドの型を返します。TypeLocalVariable. type()この変数の型を返します。