All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.reflect.runtime.ReflectSetup.scala Maven / Gradle / Ivy

There is a newer version: 2.11.2
Show newest version
package scala.reflect
package runtime

import internal.{SomePhase, NoPhase, Phase, TreeGen}

/** A helper trait to initialize things that need to be set before JavaMirrors and other
 *  reflect specific traits are initialized */
private[runtime] trait ReflectSetup extends internal.SymbolTable {
  override val phaseWithId: Array[Phase] = Array(NoPhase, SomePhase)
  override val currentRunId = 1 // fake a run id so that it is different from NoRunId
  phase = SomePhase // set to a phase different from NoPhase
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy