Class ExtendedStackTraceElement

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public final class ExtendedStackTraceElement
    extends Object
    implements Serializable
    Deprecated.
    Wraps and extends the concept of the JRE's final class StackTraceElement by adding more location information.

    Complements a StackTraceElement with:

    • exact: whether the class was obtained via sun.reflect.Reflection#getCallerClass(int)
    • location: a classpath element or a jar
    • version
    See Also:
    Serialized Form
    • Constructor Detail

      • ExtendedStackTraceElement

        public ExtendedStackTraceElement​(String declaringClass,
                                         String methodName,
                                         String fileName,
                                         int lineNumber,
                                         boolean exact,
                                         String location,
                                         String version)
        Deprecated.
        Called from Jackson for XML and JSON IO.
    • Method Detail

      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • getClassName

        public String getClassName()
        Deprecated.
      • getExact

        public boolean getExact()
        Deprecated.
      • getFileName

        public String getFileName()
        Deprecated.
      • getLineNumber

        public int getLineNumber()
        Deprecated.
      • getLocation

        public String getLocation()
        Deprecated.
      • getMethodName

        public String getMethodName()
        Deprecated.
      • getVersion

        public String getVersion()
        Deprecated.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • isNativeMethod

        public boolean isNativeMethod()
        Deprecated.