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

scala.scalanative.nscplugin.ScalaNativeOptions.scala Maven / Gradle / Ivy

package scala.scalanative.nscplugin

import java.nio.file.Path

/** This trait allows to query all options to the ScalaNative Plugin
 *
 *  Also see the help text in ScalaNativePlugin for information about particular
 *  options.
 */
trait ScalaNativeOptions {

  /** Should static forwarders be emitted for non-top-level objects.
   *
   *  Scala/JVM does not do that and, we do not do it by default either, but
   *  this option can be used to opt in. This is necessary for implementations
   *  of JDK classes.
   */
  def genStaticForwardersForNonTopLevelObjects: Boolean

  /** List of paths usd for relativization of source file positions */
  def positionRelativizationPaths: Seq[Path]

  /** Treat all final fields like if they would be marked with safePublish */
  def forceStrictFinalFields: Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy