com.android.ddmlib
Class NativeStackCallInfo

java.lang.Object
  extended by com.android.ddmlib.NativeStackCallInfo

public final class NativeStackCallInfo
extends java.lang.Object

Represents a stack call. This is used to return all of the call information as one object.


Constructor Summary
NativeStackCallInfo(long address, java.lang.String lib, java.lang.String method, java.lang.String sourceFile)
          Basic constructor with library, method, and sourcefile information
 
Method Summary
 long getAddress()
          Returns the address of this stack frame.
 java.lang.String getLibraryName()
          Returns the name of the library name.
 int getLineNumber()
          Returns the line number, or -1 if unknown.
 java.lang.String getMethodName()
          Returns the name of the method.
 java.lang.String getSourceFile()
          Returns the name of the source file.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NativeStackCallInfo

public NativeStackCallInfo(long address,
                           java.lang.String lib,
                           java.lang.String method,
                           java.lang.String sourceFile)
Basic constructor with library, method, and sourcefile information

Parameters:
address - address of this stack frame
lib - The name of the library
method - the name of the method
sourceFile - the name of the source file and the line number as "[sourcefile]:[fileNumber]"
Method Detail

getAddress

public long getAddress()
Returns the address of this stack frame.


getLibraryName

public java.lang.String getLibraryName()
Returns the name of the library name.


getMethodName

public java.lang.String getMethodName()
Returns the name of the method.


getSourceFile

public java.lang.String getSourceFile()
Returns the name of the source file.


getLineNumber

public int getLineNumber()
Returns the line number, or -1 if unknown.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object