scala.reflect.runtime.ReflectSetup.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-core Show documentation
Show all versions of spark-core Show documentation
Shaded version of Apache Spark 2.x.x for Presto
The newest version!
package scala
package reflect
package runtime
import internal.{SomePhase, NoPhase, Phase}
/** 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 - 2025 Weber Informatics LLC | Privacy Policy