FileDocCategorySizeDatePackage
StackFrame.javaAPI DocAndroid 1.5 API1931Wed May 06 22:41:02 BST 2009com.android.hit

StackFrame

public class StackFrame extends Object

Fields Summary
public static final int
NO_LINE_NUMBER
public static final int
UNKNOWN_LOCATION
public static final int
COMPILED_METHOD
public static final int
NATIVE_METHOD
long
mId
String
mMethodName
String
mSignature
String
mFilename
int
mSerialNumber
int
mLineNumber
Constructors Summary
public StackFrame(long id, String method, String sig, String file, int serial, int line)


             
                
        mId = id;
        mMethodName = method;
        mSignature = sig;
        mFilename = file;
        mSerialNumber = serial;
        mLineNumber = line;
    
Methods Summary
private final java.lang.StringlineNumberString()

        switch (mLineNumber) {
            case NO_LINE_NUMBER:    return "No line number";
            case UNKNOWN_LOCATION:  return "Unknown line number";
            case COMPILED_METHOD:   return "Compiled method";
            case NATIVE_METHOD:     return "Native method";
            
            default:                return String.valueOf(mLineNumber);
        }
    
public final java.lang.StringtoString()

        return mMethodName 
            + mSignature.replace('/", '.") 
            + " - " 
            + mFilename + ":" 
            + lineNumberString();