Package | Description |
---|---|
com.sun.jdi |
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
|
Modifier and Type | Method | Description |
---|---|---|
List<Type> |
Method.argumentTypes() |
Returns a list containing the type
of each formal parameter of this method.
|
Type |
ArrayType.componentType() |
Returns the component type of this array,
as specified in the array declaration.
|
void |
ThreadReference.forceEarlyReturn(Value value) |
Force a method to return before it reaches a return
statement.
|
Value |
ClassType.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options) |
Invokes the specified static
Method in the
target VM. |
default Value |
InterfaceType.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options) |
Invokes the specified static
Method in the
target VM. |
Value |
ObjectReference.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options) |
Invokes the specified
Method on this object in the
target VM. |
ObjectReference |
ClassType.newInstance(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options) |
Constructs a new instance of this type, using
the given constructor
Method in the
target VM. |
Type |
Method.returnType() |
Returns the return type,
as specified in the declaration of this method.
|
void |
ArrayReference.setValue(int index,
Value value) |
Replaces an array component with another value.
|
void |
ClassType.setValue(Field field,
Value value) |
Assigns a value to a static field.
|
void |
ObjectReference.setValue(Field field,
Value value) |
Sets the value of a given instance or static field in this object.
|
void |
StackFrame.setValue(LocalVariable variable,
Value value) |
Sets the
Value of a LocalVariable in this frame. |
void |
ArrayReference.setValues(int index,
List<? extends Value> values,
int srcIndex,
int length) |
Replaces a range of array components with other values.
|
void |
ArrayReference.setValues(List<? extends Value> values) |
Replaces all array components with other values.
|
Type |
Field.type() |
Returns the type of this field.
|
Type |
LocalVariable.type() |
Returns the type of this variable.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1999, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b153-2