edu.rice.cs.drjava.model.debug
Class DebugStackData
java.lang.Object
edu.rice.cs.drjava.model.debug.DebugStackData
- Direct Known Subclasses:
- JPDAStackData
public class DebugStackData
- extends Object
Class for keeping track of a stack frame in the debugger.
- Version:
- $Id: DebugStackData.java 5175 2010-01-20 08:46:32Z mgricken $
|
Constructor Summary |
DebugStackData(String method,
int line)
Object for keeping track of a stack frame. |
|
Method Summary |
int |
getLine()
Returns the line number of this frame of the stack. |
String |
getMethod()
Returns the name of the method at this frame of the stack. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_method
private final String _method
_line
private final int _line
DebugStackData
public DebugStackData(String method,
int line)
- Object for keeping track of a stack frame.
- Parameters:
method - name of the methodline - line number in the file
getMethod
public String getMethod()
- Returns the name of the method at this frame of the stack.
getLine
public int getLine()
- Returns the line number of this frame of the stack.