Package org.mockito.internal.debugging
Class LocationImpl
- java.lang.Object
-
- org.mockito.internal.debugging.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 Summary
Fields Modifier and Type Field Description private static StackTraceFilter
defaultStackTraceFilter
private static long
serialVersionUID
private java.lang.String
sourceFile
private StackTraceFilter
stackTraceFilter
private java.lang.Throwable
stackTraceHolder
-
Constructor Summary
Constructors Modifier Constructor Description LocationImpl()
LocationImpl(java.lang.Throwable stackTraceHolder)
LocationImpl(StackTraceFilter stackTraceFilter)
private
LocationImpl(StackTraceFilter stackTraceFilter, java.lang.Throwable stackTraceHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSourceFile()
Source file of this locationjava.lang.String
toString()
Human readable location in the source code, seeInvocation.getLocation()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
defaultStackTraceFilter
private static final StackTraceFilter defaultStackTraceFilter
-
stackTraceHolder
private final java.lang.Throwable stackTraceHolder
-
stackTraceFilter
private final StackTraceFilter stackTraceFilter
-
sourceFile
private final java.lang.String sourceFile
-
-
Constructor Detail
-
LocationImpl
public LocationImpl()
-
LocationImpl
public LocationImpl(StackTraceFilter stackTraceFilter)
-
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, seeInvocation.getLocation()
-
getSourceFile
public java.lang.String getSourceFile()
Description copied from interface:Location
Source file of this location- Specified by:
getSourceFile
in interfaceLocation
- Returns:
- source file
-
-