StackFramepublic 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.String | lineNumberString()
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.String | toString()
return mMethodName
+ mSignature.replace('/", '.")
+ " - "
+ mFilename + ":"
+ lineNumberString();
|
|