-
- All Known Implementing Classes:
DTFJJavaStackFrame
,JavaStackFrame
,JCJavaStackFrame
,PHDCorruptJavaStackFrame
,PHDJavaStackFrame
public interface JavaStackFrame
Represents a frame on a Java thread stack.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object obj)
Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.ImagePointer
getBasePointer()
Get a pointer to the base of this stack frameIterator
getHeapRoots()
Get the set of object roots from this stack frame.JavaLocation
getLocation()
Get the location at which the method owning this frame is currently executingint
hashCode()
Answers an integer hash code for the receiver.
-
-
-
Method Detail
-
getBasePointer
ImagePointer getBasePointer() throws CorruptDataException
Get a pointer to the base of this stack frame- Returns:
- the base pointer of the stack frame
- Throws:
CorruptDataException
-
getLocation
JavaLocation getLocation() throws CorruptDataException
Get the location at which the method owning this frame is currently executing- Returns:
- a location object describing where the frame is executing
- Throws:
CorruptDataException
- See Also:
JavaLocation
-
getHeapRoots
Iterator getHeapRoots()
Get the set of object roots from this stack frame.- Returns:
- an iterator of JavaReferences
-
equals
boolean equals(Object obj)
Description copied from class:java.lang.Object
Compares the argument to the receiver, and answers true if they represent the same object using a class specific comparison. The implementation in Object answers true only if the argument is the exact same object as the receiver (==).- Overrides:
equals
in classObject
- Parameters:
obj
-- Returns:
- True if the given object refers to the same Java Stack Frame in the image
- See Also:
Object.hashCode()
-
hashCode
int hashCode()
Description copied from class:java.lang.Object
Answers an integer hash code for the receiver. Any two objects which answertrue
when passed to.equals
must answer the same value for this method.- Overrides:
hashCode
in classObject
- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-