Example usage for Java java.lang StackTraceElement fields, constructors, methods, implement or subclass
The text is from its open source code.
StackTraceElement(String declaringClass, String methodName, String fileName, int lineNumber) Creates a stack trace element representing the specified execution point. | |
StackTraceElement() |
boolean | equals(Object obj) Returns true if the specified object is another StackTraceElement instance representing the same execution point as this instance. |
Class> | getClass() Returns the runtime class of this Object . |
String | getClassName() Returns the fully qualified name of the class containing the execution point represented by this stack trace element. |
String | 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. |
String | 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. |
String | toString() Returns a string representation of this stack trace element. |