All Packages Class Hierarchy This Package Previous Next Index
Class sun.tools.debug.RemoteStackVariable
java.lang.Object
|
+----sun.tools.debug.LocalVariable
|
+----sun.tools.debug.RemoteStackVariable
- public class RemoteStackVariable
- extends LocalVariable
- implements AgentConstants
A RemoteStackVariable represents a method argument or local variable.
It is similar to a RemoteField, but is much more transient in nature.
- See Also:
- RemoteField
-
getName()
- Return the name of a stack variable or argument.
-
getType()
- Returns a Type object for the field.
-
getValue()
- Return the value of a stack variable or argument.
-
inScope()
- Return whether variable is in scope.
-
methodArgument()
- Return whether variable is a method argument.
-
setValue(boolean)
-
-
setValue(char)
-
-
setValue(double)
-
-
setValue(float)
-
-
setValue(int)
-
-
setValue(long)
-
getName
public String getName()
- Return the name of a stack variable or argument.
getValue
public RemoteValue getValue()
- Return the value of a stack variable or argument.
setValue
public void setValue(int value) throws IllegalAccessException, Exception
setValue
public void setValue(boolean value) throws IllegalAccessException, Exception
setValue
public void setValue(char value) throws IllegalAccessException, Exception
setValue
public void setValue(long value) throws IllegalAccessException, Exception
setValue
public void setValue(float value) throws IllegalAccessException, Exception
setValue
public void setValue(double value) throws IllegalAccessException, Exception
inScope
public boolean inScope()
- Return whether variable is in scope.
methodArgument
public boolean methodArgument()
- Return whether variable is a method argument.
getType
public Type getType()
- Returns a Type object for the field.
All Packages Class Hierarchy This Package Previous Next Index