java.lang.StackTraceElement| Constructor Summary | ||
| StackTraceElement(String declaringClass, String methodName, String fileName, int lineNumber) Creates a stack trace element representing the specified execution
point. |
| Method Summary | ||
boolean |
equals(Object obj) Returns true if the specified object is another
StackTraceElement instance representing the same execution
point as this instance. |
|
| getClassName() Returns the fully qualified name of the class containing the
execution point represented by this stack trace element. |
||
| getFileName() Returns the name of the source file containing the execution point
represented by this stack trace element. |
||
int |
getLineNumber() Returns the line number of the source line containing the execution
point represented by this stack trace element. |
|
| getMethodName() Returns the name of the method containing the execution point
represented by this stack trace element. |
||
int |
hashCode() Returns a hash code value for this stack trace element. |
|
boolean |
isNativeMethod() Returns true if the method containing the execution point
represented by this stack trace element is a native method. |
|
| toString() Returns a string representation of this stack trace element. |
||
| Methods inherited from class java.lang.Object |
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
equals(a.getFileName(), b.getFileName()) &&
a.getLineNumber() == b.getLineNumber()) &&
equals(a.getClassName(), b.getClassName()) &&
equals(a.getMethodName(), b.getMethodName())
where equals is defined as:
static boolean equals(Object a, Object b) {
return a==b || (a != null && a.equals(b));
}