All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockito.invocation.Location Maven / Gradle / Ivy

There is a newer version: 5.12.0
Show newest version
/*
 * 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy