org.netbeans.api.debugger.jpda/2 2.31.1

org.netbeans.spi.debugger.jpda
Class Evaluator.Result

java.lang.Object
  extended by org.netbeans.spi.debugger.jpda.Evaluator.Result
Enclosing interface:
Evaluator<PreprocessedInfo>

public static final class Evaluator.Result
extends Object

Evaluation result. Depending on the APIs used by the evaluation, result is either a Variable or Value.


Constructor Summary
Evaluator.Result(com.sun.jdi.Value v)
          Create result from Value.
Evaluator.Result(Variable var)
          Create result from Variable.
 
Method Summary
 com.sun.jdi.Value getValue()
          Get the result value
 Variable getVariable()
          Get the result variable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluator.Result

public Evaluator.Result(Variable var)
Create result from Variable.

Parameters:
var - result variable

Evaluator.Result

public Evaluator.Result(com.sun.jdi.Value v)
Create result from Value.

Parameters:
v - result value
Method Detail

getVariable

public Variable getVariable()
Get the result variable

Returns:
the variable or null.

getValue

public com.sun.jdi.Value getValue()
Get the result value

Returns:
the value or null.

org.netbeans.api.debugger.jpda/2 2.31.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.