org.mockito.invocation.Location Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-core Show documentation
Show all versions of mockito-core Show documentation
Mock objects library for java
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.invocation;
import org.mockito.NotExtensible;
/**
* Describes the location of something in the source code.
*/
@NotExtensible
public interface Location {
/**
* Human readable location in the source code, see {@link Invocation#getLocation()}
*
* @return location
*/
@Override
String toString();
/**
* Source file of this location
*
* @return source file
* @since 2.24.6
*/
String getSourceFile();
}