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

spark.debug.SourceLocator Maven / Gradle / Ivy

package spark.debug;

import java.io.File;

import com.google.common.base.Optional;

/**
 * Defines an interface for locating source files.
 *
 * @author mschurr
 */
public interface SourceLocator {
    /**
     * @param frame A stack trace frame.
     * @return A file containing the code referenced by the StackTraceElement.
     */
    public Optional findFileForFrame(StackTraceElement frame);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy