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

dotty.tools.xsbt.FallbackPathBasedFile Maven / Gradle / Ivy

There is a newer version: 3.7.2-RC1-bin-20250528-457a463-NIGHTLY
Show newest version
package dotty.tools.xsbt;

import dotty.tools.dotc.util.SourceFile;

/**A basic implementation of PathBasedFile that is only used when
 * the real virtual file can not be found.
 *
 * See FallbackVirtualFile for more details.
 */
public class FallbackPathBasedFile extends FallbackVirtualFile implements xsbti.PathBasedFile {

  public FallbackPathBasedFile(SourceFile sourceFile) {
    super(sourceFile);
  }

  public java.nio.file.Path toPath() {
    return sourceFile.file().jpath();
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy