corda/classpath/java/lang/StackTraceElement.java

40 lines
695 B
Java

package java.lang;
public class StackTraceElement {
private static int NativeLine = -2;
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;
}
}