Dotty Documentation

0.3.0-bin-SNAPSHOT

case class VirtualDirectoryClassPath
extends ClassPath with DirectoryLookup with NoSourcePaths with Product

[-] Constructors

VirtualDirectoryClassPath ( dir: VirtualDirectory )

[-] Members

[+] type F = AbstractFile
[+] val dir : VirtualDirectory
[+] def asClassPathStrings : Seq [ String ]
[+] def asURLs : Seq [ URL ]
[+] def classes ( inPackage: String ) : Seq [ ClassFileEntry ]
[+] protected def createFileEntry ( file: AbstractFile ) : ClassFileEntryImpl
[+] protected def emptyFiles : Array [ AbstractFile ]
[+] override def findClass ( className: String ) : Option [ ClassRepresentation ]

It returns both classes from class file and source files (as our base ClassRepresentation). So note that it's not so strictly related to findClassFile.

[+] def findClassFile ( className: String ) : Option [ AbstractFile ]
[+] def getName ( f: AbstractFile ) : String
[+] protected def getSubDir ( packageDirName: String ) : Option [ AbstractFile ]
[+] protected def isMatchingFile ( f: AbstractFile ) : Boolean
[+] def isPackage ( f: AbstractFile ) : Boolean
[+] protected def listChildren ( dir: AbstractFile , filter: Option [ AbstractFile => Boolean ] ) : Array [ F ]
[+] private final def lookupPath ( base: AbstractFile ) ( pathParts: Seq [ String ] , directory: Boolean ) : AbstractFile
[+] def toAbstractFile ( f: AbstractFile ) : AbstractFile