ClasspathLoaders

tastyquery.jdk.ClasspathLoaders$

Classpath loaders using the JDK API.

This API is specific to the JVM. It is not available in Scala.js.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def read(classpath: List[Path]): Classpath

Reads the contents of a classpath.

Reads the contents of a classpath.

Entries can be directories or jar files. Non-existing entries are ignored.

This method will synchronously read the contents of all .class and .tasty files on the classpath.

The resulting Classpaths.Classpath can be given to Contexts.init to create a Contexts.Context. The latter gives semantic access to all the definitions on the classpath.

Attributes

Note:

the resulting Classpath.Entry entries of the returned Classpaths.Classpath correspond to the elements of classpath.