Dotty Documentation

0.2.0-bin-SNAPSHOT

trait ClassPath

A representation of the compiler's class- or sourcepath.

[-] Constructors

[-] Members

[+] def asClassPathString : String

The whole classpath in the form of one String.

[+] def asClassPathStrings : Seq [ String ]
[+] @deprecated def asClasspathString : String
[+] def asSourcePathString : String

The whole sourcepath in the form of one String.

[+] def asURLs : Seq [ URL ]
[+] def classes ( inPackage: String ) : Seq [ ClassFileEntry ]
[+] 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 list ( inPackage: String ) : ClassPathEntries

Allows to get entries for packages and classes merged with sources possibly in one pass.

[+] def packages ( inPackage: String ) : Seq [ PackageEntry ]

Empty string represents root package

[+] def sources ( inPackage: String ) : Seq [ SourceFileEntry ]