org.jikesrvm.runtime
Class StackTrace.Element

java.lang.Object
  extended by org.jikesrvm.runtime.StackTrace.Element
Enclosing class:
StackTrace

public static class StackTrace.Element
extends Object

Class to wrap up a stack frame element


Field Summary
private  boolean isInvisible
          Is this an invisible method?
private  boolean isTrap
          Is this a hardware trap method?
private  int lineNumber
          Line number of element
private  RVMMethod method
          Stack trace's method, null => invisible or trap
 
Constructor Summary
StackTrace.Element(CompiledMethod cm, int off)
          Constructor for non-opt compiled methods
StackTrace.Element(RVMMethod method, int ln)
          Constructor for opt compiled methods
 
Method Summary
 String getClassName()
          Get class name
 Class<?> getElementClass()
          Get class
 String getFileName()
          Get source file name
 int getLineNumber()
          Get line number
 String getMethodName()
          Get method name
 boolean isNative()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

private final RVMMethod method
Stack trace's method, null => invisible or trap


lineNumber

private final int lineNumber
Line number of element


isInvisible

private final boolean isInvisible
Is this an invisible method?


isTrap

private final boolean isTrap
Is this a hardware trap method?

Constructor Detail

StackTrace.Element

StackTrace.Element(CompiledMethod cm,
                   int off)
Constructor for non-opt compiled methods


StackTrace.Element

StackTrace.Element(RVMMethod method,
                   int ln)
Constructor for opt compiled methods

Method Detail

getFileName

public String getFileName()
Get source file name


getClassName

public String getClassName()
Get class name


getElementClass

public Class<?> getElementClass()
Get class


getMethodName

public String getMethodName()
Get method name


getLineNumber

public int getLineNumber()
Get line number


isNative

public boolean isNative()