Package org.mockito.invocation
Interface Location
-
- All Known Implementing Classes:
LocationImpl
@NotExtensible public interface Location
Describes the location of something in the source code.
-
-
Method Summary
All Methods Instance Methods Abstract 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()
-
-
-
Method Detail
-
toString
java.lang.String toString()
Human readable location in the source code, seeInvocation.getLocation()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- location
-
getSourceFile
java.lang.String getSourceFile()
Source file of this location- Returns:
- source file
- Since:
- 2.24.6
-
-