public class LuaStackTraceElement extends Object
| Constructor and Description |
|---|
LuaStackTraceElement(String functionName,
String sourceName,
int lineNumber)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getFunctionName()
Returns the name of the function containing the execution point
represented by this stack trace element.
|
int |
getLineNumber()
Returns the line number in the source containing the execution point
represented by this stack trace element.
|
String |
getSourceName()
Returns the name of the source containing the execution point represented
by this this stack trace element.
|
int |
hashCode() |
String |
toString() |
public LuaStackTraceElement(String functionName, String sourceName, int lineNumber)
sourceName - the source name, or null if unavailablefunctionName - the function name, or null if unavailablelineNumber - the line number, or a negative number if unavailablepublic String getFunctionName()
null.nullpublic String getSourceName()
null.nullLuaState.load(java.io.InputStream, String),
LuaState.load(String, String)public int getLineNumber()