mirror of
https://github.com/corda/corda.git
synced 2025-06-16 14:18:20 +00:00
flesh out classpath enough to test threading; fix indexing bug in parsePool()
This commit is contained in:
@ -1,8 +1,39 @@
|
||||
package java.lang;
|
||||
|
||||
public class StackTraceElement {
|
||||
private Object method;
|
||||
private int ip;
|
||||
private static int NativeLine = -2;
|
||||
|
||||
private StackTraceElement() { }
|
||||
private String class_;
|
||||
private String method;
|
||||
private String file;
|
||||
private int line;
|
||||
|
||||
private StackTraceElement(String class_, String method, String file,
|
||||
int line)
|
||||
{
|
||||
this.class_ = class_;
|
||||
this.method = method;
|
||||
this.file = file;
|
||||
this.line = line;
|
||||
}
|
||||
|
||||
public String getClassName() {
|
||||
return class_;
|
||||
}
|
||||
|
||||
public String getMethodName() {
|
||||
return method;
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public int getLineNumber() {
|
||||
return line;
|
||||
}
|
||||
|
||||
public boolean isNativeMethod() {
|
||||
return line == NativeLine;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user