Class LocationImpl

  • All Implemented Interfaces:
    java.io.Serializable, Location

    public class LocationImpl
    extends java.lang.Object
    implements Location, java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • defaultStackTraceFilter

        private static final StackTraceFilter defaultStackTraceFilter
      • stackTraceHolder

        private final java.lang.Throwable stackTraceHolder
      • sourceFile

        private final java.lang.String sourceFile
    • Constructor Detail

      • LocationImpl

        public LocationImpl()
      • LocationImpl

        public LocationImpl​(java.lang.Throwable stackTraceHolder)
      • LocationImpl

        private LocationImpl​(StackTraceFilter stackTraceFilter,
                             java.lang.Throwable stackTraceHolder)
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from interface: Location
        Human readable location in the source code, see Invocation.getLocation()
        Specified by:
        toString in interface Location
        Overrides:
        toString in class java.lang.Object
        Returns:
        location
      • getSourceFile

        public java.lang.String getSourceFile()
        Description copied from interface: Location
        Source file of this location
        Specified by:
        getSourceFile in interface Location
        Returns:
        source file