Class FallbackPathBasedFile

java.lang.Object
xsbti.BasicVirtualFileRef
dotty.tools.xsbt.FallbackVirtualFile
dotty.tools.xsbt.FallbackPathBasedFile
All Implemented Interfaces:
xsbti.PathBasedFile, xsbti.VirtualFile, xsbti.VirtualFileRef

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

    Fields inherited from class dotty.tools.xsbt.FallbackVirtualFile

    sourceFile
  • Constructor Summary

    Constructors
    Constructor
    Description
    FallbackPathBasedFile(dotty.tools.dotc.util.SourceFile sourceFile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class dotty.tools.xsbt.FallbackVirtualFile

    contentHash, input

    Methods inherited from class xsbti.BasicVirtualFileRef

    equals, hashCode, id, name, names, toString, withId

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface xsbti.VirtualFile

    contentHash, input

    Methods inherited from interface xsbti.VirtualFileRef

    id, name, names
  • Constructor Details

    • FallbackPathBasedFile

      public FallbackPathBasedFile(dotty.tools.dotc.util.SourceFile sourceFile)
  • Method Details

    • toPath

      public Path toPath()
      Specified by:
      toPath in interface xsbti.PathBasedFile