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 and 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 |
ObjectReference.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options)
Invokes the specified
Method on this object in the
target VM. |
Value |
ClassType.invokeMethod(ThreadReference thread,
Method method,
List<? extends Value> arguments,
int options)
Invokes the specified static
Method 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 |
ObjectReference.setValue(Field field,
Value value)
Sets the value of a given instance or static field in this object.
|
void |
ClassType.setValue(Field field,
Value value)
Assigns a value to a static field.
|
void |
ArrayReference.setValue(int index,
Value value)
Replaces an array component with another value.
|
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 |
LocalVariable.type()
Returns the type of this variable.
|
Type |
Field.type()
Returns the type of this field.
|
Copyright © 1999, 2020, Oracle and/or its affiliates. All rights reserved.