joeq.Runtime
Class StackCodeWalker
java.lang.Object
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
|
TRACE
public static boolean TRACE
StackCodeWalker
public StackCodeWalker(CodeAddress ip,
StackAddress fp)
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.