edu.rice.cs.drjava.model.debug
Class DebugStackData

java.lang.Object
  extended by 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 4447 2008-04-18 16:06:34Z rcartwright $

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
 

Constructor Detail

DebugStackData

public DebugStackData(String method,
                      int line)
Object for keeping track of a stack frame.

Parameters:
method - name of the method
line - line number in the file
Method Detail

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.