org.pantsbuild.zinc

Compiler

Related Docs: class Compiler | package zinc

object Compiler

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Compiler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val CompilerInterfaceId: String

  5. val JavaClassVersion: String

  6. def analysis(cacheFile: File): Analysis

    Analysis for the given file, or Analysis.Empty if it is not in the cache.

  7. val analysisCache: com.google.common.cache.Cache[FileFPrint, Option[(Analysis, CompileSetup)]]

    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.

  8. def analysisIsEmpty(cacheFile: File): Boolean

    Check whether an analysis is empty.

  9. def analysisOption(cacheFile: File): Option[Analysis]

    Analysis for the given file if it is already cached.

  10. def analysisStore(cacheFile: File): AnalysisStore

    Create an analysis store backed by analysisCache.

  11. def apply(setup: Setup, log: Logger): Compiler

    Get or create a zinc compiler based on compiler setup.

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val compilerCache: com.google.common.cache.Cache[Setup, Compiler]

    Static cache for zinc compilers.

  15. def compilerInterface(setup: Setup, scalaInstance: ScalaInstance, log: Logger): File

    Get the compiler interface for this compiler setup.

    Get the compiler interface for this compiler setup. Compile it if not already cached.

  16. def create(setup: Setup, log: Logger): Compiler

    Create a new zinc compiler based on compiler setup.

  17. def createResidentCache(maxCompilers: Int): GlobalsCache

    Create new globals cache.

  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getOrCreate(setup: Setup, log: Logger): Compiler

    Java API for creating compiler.

  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. def interfaceId(scalaVersion: String): String

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def newJavaCompiler(instance: ScalaInstance, javaHome: Option[File], fork: Boolean): JavaCompiler

    Create a new java compiler.

  28. def newScalaCompiler(instance: ScalaInstance, interfaceJar: File, log: Logger): AnalyzingCompiler

    Create a new scala compiler.

  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. val residentCache: GlobalsCache

    Static cache for resident scala compilers.

  32. def scalaInstance(setup: Setup): ScalaInstance

    Create the scala instance for the compiler.

    Create the scala instance for the compiler. Includes creating the classloader.

  33. def scalaLoader(jars: Seq[File]): URLClassLoader

    Create a new classloader with the root loader as parent (to avoid zinc itself being included).

  34. def scalaVersion(scalaLoader: ClassLoader): Option[String]

    Get the actual scala version from the compiler.properties in a classloader.

    Get the actual scala version from the compiler.properties in a classloader. The classloader should only contain one version of scala.

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped