joeq.Runtime
Class StackCodeWalker

java.lang.Object
  extended by joeq.Runtime.StackCodeWalker
All Implemented Interfaces:
Iterator

public class StackCodeWalker
extends Object
implements Iterator

Version:
$Id: StackCodeWalker.java,v 1.9 2004/09/30 03:35:35 joewhaley Exp $
Author:
John Whaley

Field Summary
static boolean TRACE
           
 
Constructor Summary
StackCodeWalker(CodeAddress ip, StackAddress fp)
           
 
Method Summary
 int getBCIndex()
           
 jq_CompiledCode getCode()
           
 int getCodeOffset()
           
 StackAddress getFP()
           
 CodeAddress getIP()
           
 int getLineNum()
           
 jq_Method getMethod()
           
 Utf8 getSourceFile()
           
 void gotoNext()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
static void stackDump(CodeAddress init_ip, StackAddress init_fp)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRACE

public static boolean TRACE
Constructor Detail

StackCodeWalker

public StackCodeWalker(CodeAddress ip,
                       StackAddress fp)
Method Detail

getIP

public CodeAddress getIP()

getFP

public StackAddress getFP()

getCode

public jq_CompiledCode getCode()

getMethod

public jq_Method getMethod()

getCodeOffset

public int getCodeOffset()

getSourceFile

public Utf8 getSourceFile()

getBCIndex

public int getBCIndex()

getLineNum

public int getLineNum()

gotoNext

public void gotoNext()
              throws NoSuchElementException
Throws:
NoSuchElementException

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
            throws NoSuchElementException
Specified by:
next in interface Iterator
Throws:
NoSuchElementException

remove

public void remove()
            throws UnsupportedOperationException
Specified by:
remove in interface Iterator
Throws:
UnsupportedOperationException

toString

public String toString()
Overrides:
toString in class Object

stackDump

public static void stackDump(CodeAddress init_ip,
                             StackAddress init_fp)


Copyright © 2001-2005 John Whaley. All Rights Reserved.