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 5175 2010-01-20 08:46:32Z mgricken $

Field Summary
private  int _line
           
private  String _method
           
 
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
 

Field Detail

_method

private final String _method

_line

private final int _line
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.