Analysis for the given file, or Analysis.
Analysis for the given file, or Analysis.Empty if it is not in the cache.
Static cache for compile analyses.
Static cache for compile analyses. Values must be Options because in get() we don't yet know if, on a cache miss, the underlying file will yield a valid Analysis.
Check whether an analysis is empty.
Analysis for the given file if it is already cached.
Create an analysis store backed by analysisCache.
Get or create a zinc compiler based on compiler setup.
Static cache for zinc compilers.
Get the compiler interface for this compiler setup.
Get the compiler interface for this compiler setup. Compile it if not already cached.
Create a new zinc compiler based on compiler setup.
Create new globals cache.
Java API for creating compiler.
Create a new java compiler.
Create a new scala compiler.
Static cache for resident scala compilers.
Create the scala instance for the compiler.
Create the scala instance for the compiler. Includes creating the classloader.
Create a new classloader with the root loader as parent (to avoid zinc itself being included).
Get the actual scala version from the compiler.
Get the actual scala version from the compiler.properties in a classloader. The classloader should only contain one version of scala.