Packages

c

scala.tools.nsc.settings

MutableSettings

class MutableSettings extends reflect.internal.settings.MutableSettings with AbsSettings with ScalaSettings

A mutable Settings object.

Source
MutableSettings.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableSettings
  2. ScalaSettings
  3. Warnings
  4. StandardScalaSettings
  5. AbsSettings
  6. MutableSettings
  7. AbsSettings
  8. AnyRef
  9. Any
Implicitly
  1. by SettingsOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MutableSettings(errorFn: (String) => Unit)
  2. new MutableSettings(errorFn: (String) => Unit, pathFactory: PathFactory)

Type Members

  1. trait AbsSetting extends Ordered[Setting] with AbsSettingValue
    Definition Classes
    AbsSettings
  2. trait InternalSetting extends AbsSetting
    Definition Classes
    AbsSettings
  3. trait AbsSettingValue extends AnyRef
    Definition Classes
    AbsSettings
  4. class BooleanSetting extends Setting

    A setting that is a boolean flag, with default as specified.

  5. class ChoiceSetting extends Setting

    A setting represented by a string in a given set of choices, (default unless set).

  6. class EnableSettings[T <: BooleanSetting] extends AnyRef

    Internal use - syntax enhancements.

    Internal use - syntax enhancements.

    Attributes
    protected
  7. class IntSetting extends Setting

    A setting represented by an integer.

  8. abstract class MultiChoiceEnumeration extends Enumeration

    Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain.

    Each MultiChoiceSetting takes a MultiChoiceEnumeration as domain. The enumeration may use the Choice class to define values, or simply use the default Value constructor:

    object SettingDomain extends MultiChoiceEnumeration { val arg1, arg2 = Value }

    Or

    object SettingDomain extends MultiChoiceEnumeration { val arg1 = Choice("arg1", "help") val arg2 = Choice("arg2", "help") }

    Choices with a non-empty expandsTo enable other options. Note that expanding choices are not present in the multiChoiceSetting.value set, only their expansion.

  9. class MultiChoiceSetting[E <: MultiChoiceEnumeration] extends Setting with Clearable

    A Setting that collects string-valued settings from an enumerated domain.

    A Setting that collects string-valued settings from an enumerated domain.

    • These choices can be turned on or off: "-option:on,-off"
    • If an option is set both on and off, then the option is on
    • The choice "_" enables all choices that have not been explicitly disabled

    Arguments can be provided in colonated or non-colonated mode, i.e. "-option a b" or "-option:a,b". Note that arguments starting with a "-" can only be provided in colonated mode, otherwise they are interpreted as a new option.

    In non-colonated mode, the setting stops consuming arguments at the first non-choice, i.e. "-option a b c" only consumes "a" and "b" if "c" is not a valid choice.

  10. class MultiStringSetting extends Setting with Clearable

    A setting that accumulates all strings supplied to it, until it encounters one starting with a '-'.

  11. class OutputDirs extends AnyRef

    A class for holding mappings from source directories to their output location.

    A class for holding mappings from source directories to their output location. This functionality can be accessed only programmatically. The command line compiler uses a single output location, but tools may use this functionality to set output location per source directory.

  12. class OutputSetting extends StringSetting

    Set the output directory for all sources.

  13. class PathSetting extends StringSetting
  14. class PhasesSetting extends Setting with Clearable

    A setting represented by a list of strings which should be prefixes of phase names.

    A setting represented by a list of strings which should be prefixes of phase names. This is not checked here, however. Alternatively, underscore can be used to indicate all phases.

  15. class PrefixSetting extends Setting

    A special setting for accumulating arguments like -Dfoo=bar.

  16. type ResultOfTryToSet = collection.immutable.List[String]
    Definition Classes
    MutableSettingsAbsSettings
  17. class ScalaVersionSetting extends Setting

    A setting represented by a Scala version.

    A setting represented by a Scala version. The initial value is used if the setting is not specified. The default value is used if the option is specified without argument (e.g., -Xmigration).

  18. abstract class Setting extends AbsSetting with SettingValue

    A base class for settings of all types.

    A base class for settings of all types. Subclasses each define a value field of the appropriate type.

  19. trait SettingValue extends reflect.internal.settings.MutableSettings.AbsSettingValue
    Definition Classes
    MutableSettings
  20. class StringSetting extends Setting

    A setting represented by a string, (default unless set)

  21. sealed abstract class CachePolicy extends AnyRef
    Definition Classes
    ScalaSettings

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MutableSettings toany2stringadd[MutableSettings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MutableSettings, B)
    Implicit
    This member is added by an implicit conversion from MutableSettings toArrowAssoc[MutableSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def BooleanSetting(name: String, descr: String, default: Boolean = false): BooleanSetting
  7. def ChoiceSetting(name: String, helpArg: String, descr: String, choices: List[String], default: String, choicesHelp: List[String] = Nil): ChoiceSetting
  8. def IntSetting(name: String, descr: String, default: Int, range: Option[(Int, Int)], parser: (String) => Option[Int]): IntSetting
  9. def MultiChoiceSetting[E <: MultiChoiceEnumeration](name: String, helpArg: String, descr: String, domain: E, default: Option[List[String]] = None): MultiChoiceSetting[E]
  10. def MultiStringSetting(name: String, arg: String, descr: String, default: List[String] = Nil, helpText: Option[String] = None, prepend: Boolean = false): MultiStringSetting
  11. def OutputSetting(default: String): OutputSetting
  12. def PathSetting(name: String, descr: String, default: String): PathSetting
  13. def PhasesSetting(name: String, descr: String, default: String = ""): PhasesSetting
  14. def PrefixSetting(name: String, prefix: String, descr: String): PrefixSetting
  15. def ScalaVersionSetting(name: String, arg: String, descr: String, initial: ScalaVersion, default: Option[ScalaVersion] = None): ScalaVersionSetting
  16. def StringSetting(name: String, arg: String, descr: String, default: String, helpText: Option[String] = None): StringSetting
  17. val VdebugTypeError: BooleanSetting
    Definition Classes
    ScalaSettings
  18. val Vhelp: BooleanSetting

    -V "Verbose" settings

    -V "Verbose" settings

    Definition Classes
    ScalaSettings
  19. val Vimplicits: BooleanSetting
    Definition Classes
    ScalaSettings
  20. val VimplicitsMaxRefined: IntSetting
    Definition Classes
    ScalaSettings
  21. val VimplicitsVerboseTree: BooleanSetting
    Definition Classes
    ScalaSettings
  22. val VtypeDiffs: BooleanSetting
    Definition Classes
    ScalaSettings
  23. val Wconf: MultiStringSetting
    Definition Classes
    Warnings
  24. val Whelp: BooleanSetting
    Definition Classes
    Warnings
  25. val Xexperimental: BooleanSetting
    Definition Classes
    ScalaSettings
  26. val Xhelp: BooleanSetting

    -X "Advanced" settings

    -X "Advanced" settings

    Definition Classes
    ScalaSettings
  27. val Xjline: ChoiceSetting
    Definition Classes
    ScalaSettings
  28. val XmacroSettings: MultiStringSetting
    Definition Classes
    ScalaSettings
  29. val Xmigration: ScalaVersionSetting
    Definition Classes
    ScalaSettings
  30. val XmixinForceForwarders: ChoiceSetting
    Definition Classes
    ScalaSettings
  31. val XnoPatmatAnalysis: BooleanSetting
    Definition Classes
    ScalaSettings
  32. val Xnojline: BooleanSetting
    Definition Classes
    ScalaSettings
  33. val Xprint: PhasesSetting
    Definition Classes
    ScalaSettings
  34. val Xprintpos: BooleanSetting
    Definition Classes
    ScalaSettings
  35. val Xshowcls: StringSetting
    Definition Classes
    ScalaSettings
  36. val Xshowobj: StringSetting
    Definition Classes
    ScalaSettings
  37. val Xshowtrees: BooleanSetting
    Definition Classes
    ScalaSettings
  38. val XshowtreesCompact: BooleanSetting
    Definition Classes
    ScalaSettings
  39. val XshowtreesStringified: BooleanSetting
    Definition Classes
    ScalaSettings
  40. val Xverify: BooleanSetting
    Definition Classes
    ScalaSettings
  41. val Xxml: MultiChoiceSetting[XxmlSettings.type]
    Definition Classes
    ScalaSettings
  42. val YaddBackendThreads: IntSetting
    Definition Classes
    ScalaSettings
  43. val YcacheMacroClassLoader: ChoiceSetting
    Definition Classes
    ScalaSettings
  44. val YcachePluginClassLoader: ChoiceSetting
    Definition Classes
    ScalaSettings
  45. val Ycompacttrees: BooleanSetting
    Definition Classes
    ScalaSettings
  46. val YdebugTasty: BooleanSetting
    Definition Classes
    ScalaSettings
  47. val Ydelambdafy: ChoiceSetting
    Definition Classes
    ScalaSettings
  48. val YdisableFlatCpCaching: BooleanSetting
    Definition Classes
    ScalaSettings
  49. val Ydocdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  50. val Ydumpclasses: StringSetting
    Definition Classes
    ScalaSettings
  51. val YforceFlatCpCaching: BooleanSetting
    Definition Classes
    ScalaSettings
  52. val Ygenasmp: StringSetting
    Definition Classes
    ScalaSettings
  53. val Yhelp: BooleanSetting

    -Y "Private" settings

    -Y "Private" settings

    Definition Classes
    ScalaSettings
  54. val YhotStatisticsEnabled: BooleanSetting
    Definition Classes
    ScalaSettings
  55. val Yidedebug: BooleanSetting
    Definition Classes
    ScalaSettings
  56. val YjarCompressionLevel: IntSetting
    Definition Classes
    ScalaSettings
  57. val YjarFactory: StringSetting
    Definition Classes
    ScalaSettings
  58. val Ylogcp: BooleanSetting
    Definition Classes
    ScalaSettings
  59. val YmacroAnnotations: BooleanSetting
    Definition Classes
    ScalaSettings
  60. val YmacroClasspath: PathSetting
    Definition Classes
    ScalaSettings
  61. val YmacroFresh: BooleanSetting
    Definition Classes
    ScalaSettings
  62. val YmacrodebugLite: BooleanSetting
    Definition Classes
    ScalaSettings
  63. val YmacrodebugVerbose: BooleanSetting
    Definition Classes
    ScalaSettings
  64. val Ymacroexpand: ChoiceSetting
    Definition Classes
    ScalaSettings
  65. val YmaxQueue: IntSetting
    Definition Classes
    ScalaSettings
  66. val Ymemberpos: StringSetting
    Definition Classes
    ScalaSettings
  67. val Ynogenericsig: BooleanSetting
    Definition Classes
    ScalaSettings
  68. val YoptInlineHeuristics: ChoiceSetting
    Definition Classes
    ScalaSettings
  69. val YoptLogInline: StringSetting
    Definition Classes
    ScalaSettings
  70. val YoptTrace: StringSetting
    Definition Classes
    ScalaSettings
  71. val Youtline: BooleanSetting
    Definition Classes
    ScalaSettings
  72. val YpatmatExhaustdepth: IntSetting
    Definition Classes
    ScalaSettings
  73. val Ypatmatdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  74. val YpickleJava: BooleanSetting
    Definition Classes
    ScalaSettings
  75. val YpickleWrite: StringSetting
    Definition Classes
    ScalaSettings
  76. val YpickleWriteApiOnly: BooleanSetting
    Definition Classes
    ScalaSettings
  77. val Yposdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  78. val YpresentationAnyThread: BooleanSetting
    Definition Classes
    ScalaSettings
  79. val YpresentationDebug: BooleanSetting
    Definition Classes
    ScalaSettings
  80. val YpresentationDelay: IntSetting
    Definition Classes
    ScalaSettings
  81. val YpresentationLocateSourceFile: BooleanSetting
    Definition Classes
    ScalaSettings
  82. val YpresentationLog: StringSetting
    Definition Classes
    ScalaSettings
  83. val YpresentationReplay: StringSetting
    Definition Classes
    ScalaSettings
  84. val YpresentationStrict: BooleanSetting
    Definition Classes
    ScalaSettings
  85. val YpresentationVerbose: BooleanSetting

    IDE-specific settings

    IDE-specific settings

    Definition Classes
    ScalaSettings
  86. val YprintTrees: ChoiceSetting
    Definition Classes
    ScalaSettings
  87. val YprofileDestination: StringSetting
    Definition Classes
    ScalaSettings
  88. val YprofileEnabled: BooleanSetting
    Definition Classes
    ScalaSettings
  89. val YprofileExternalTool: PhasesSetting
    Definition Classes
    ScalaSettings
  90. val YprofileRunGcBetweenPhases: PhasesSetting
    Definition Classes
    ScalaSettings
  91. val YprofileTrace: StringSetting
    Definition Classes
    ScalaSettings
  92. val Yquasiquotedebug: BooleanSetting
    Definition Classes
    ScalaSettings
  93. val Yrangepos: BooleanSetting
    Definition Classes
    ScalaSettings
  94. val Yrecursion: IntSetting
    Definition Classes
    ScalaSettings
  95. val Yreifycopypaste: BooleanSetting
    Definition Classes
    ScalaSettings
  96. val Yreifydebug: BooleanSetting
    Definition Classes
    ScalaSettings
  97. val YreplMagicImport: BooleanSetting
    Definition Classes
    ScalaSettings
  98. val Yreplclassbased: BooleanSetting
    Definition Classes
    ScalaSettings
  99. val Yreploutdir: StringSetting
    Definition Classes
    ScalaSettings
  100. val Yscala3ImplicitResolution: BooleanSetting
    Definition Classes
    ScalaSettings
  101. val Yscriptrunner: StringSetting
    Definition Classes
    ScalaSettings
  102. val Yshow: PhasesSetting
    Definition Classes
    ScalaSettings
  103. val Yshowsymkinds: BooleanSetting
    Definition Classes
    ScalaSettings
  104. val Yshowsymowners: BooleanSetting
    Definition Classes
    ScalaSettings
  105. val Yshowsyms: BooleanSetting
    Definition Classes
    ScalaSettings
  106. val Ystatistics: PhasesSetting
    Definition Classes
    ScalaSettings
  107. val YstatisticsEnabled: BooleanSetting
    Definition Classes
    ScalaSettings
  108. val YtastyNoAnnotations: BooleanSetting
    Definition Classes
    ScalaSettings
  109. val YtastyReader: BooleanSetting
    Definition Classes
    ScalaSettings
  110. val YtrackDependencies: BooleanSetting
    Definition Classes
    ScalaSettings
  111. val Ytyperdebug: BooleanSetting
    Definition Classes
    ScalaSettings
  112. val Yvalidatepos: PhasesSetting
    Definition Classes
    ScalaSettings
  113. lazy val allSettings: LinkedHashMap[String, Setting]

    Set of settings

    Set of settings

    Attributes
    protected[scala]
    Definition Classes
    ScalaSettings
  114. final def areHotStatisticsEnabled: Boolean
    Implicit
    This member is added by an implicit conversion from MutableSettings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  115. final def areStatisticsEnabled: Boolean
    Implicit
    This member is added by an implicit conversion from MutableSettings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  116. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  117. val async: BooleanSetting
    Definition Classes
    ScalaSettings
  118. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  119. val breakCycles: BooleanSetting
    Definition Classes
    ScalaSettings
  120. val browse: PhasesSetting
    Definition Classes
    ScalaSettings
  121. val check: PhasesSetting
    Definition Classes
    ScalaSettings
  122. def checkDependencies: Boolean
    Definition Classes
    AbsSettings
  123. val checkInit: BooleanSetting
    Definition Classes
    ScalaSettings
  124. val classpath: PathSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  125. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  126. def conflictWarning: Option[String]
    Definition Classes
    ScalaSettings
  127. def copy(): Settings

    Create a new Settings object, copying all user-set values.

  128. def copyInto(settings: MutableSettings): Unit
  129. val debug: BooleanSetting
    Definition Classes
    ScalaSettings
  130. def debuginfo: ChoiceSetting

    Compatibility stubs for options whose value name did not previously match the option name.

    Compatibility stubs for options whose value name did not previously match the option name.

    Definition Classes
    ScalaSettings
  131. def defaultClasspath: String

    The user class path, specified by -classpath or -cp, defaults to the value of CLASSPATH env var if it is set, as in Java, or else to "." for the current user directory.

    The user class path, specified by -classpath or -cp, defaults to the value of CLASSPATH env var if it is set, as in Java, or else to "." for the current user directory.

    Attributes
    protected
    Definition Classes
    ScalaSettings
  132. val defines: PrefixSetting
    Definition Classes
    ScalaSettings
  133. def dependenciesFile: StringSetting
    Definition Classes
    ScalaSettings
  134. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  135. val deprecation: BooleanSetting
    Definition Classes
    StandardScalaSettings
  136. val developer: BooleanSetting
    Definition Classes
    ScalaSettings
  137. def disable(s: Setting): LinkedHashMap[String, Setting]

    Disable a setting

    Disable a setting

    Definition Classes
    ScalaSettings
  138. val disable: MultiStringSetting
    Definition Classes
    ScalaSettings
  139. val elidebelow: IntSetting
    Definition Classes
    ScalaSettings
  140. def embeddedDefaults(loader: ClassLoader): Unit

    Initializes these settings for embedded use by a class from the given class loader.

    Initializes these settings for embedded use by a class from the given class loader. The class loader for T should provide resources app.class.path and boot.class.path. These resources should contain the application and boot classpaths in the same form as would be passed on the command line.

  141. def embeddedDefaults[T](implicit arg0: ClassTag[T]): Unit

    Initializes these settings for embedded use by type T.

    Initializes these settings for embedded use by type T. The class loader defining T should provide resources app.class.path and boot.class.path. These resources should contain the application and boot classpaths in the same form as would be passed on the command line.

  142. val encoding: StringSetting
    Definition Classes
    StandardScalaSettings
  143. def ensuring(cond: (MutableSettings) => Boolean, msg: => Any): MutableSettings
    Implicit
    This member is added by an implicit conversion from MutableSettings toEnsuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  144. def ensuring(cond: (MutableSettings) => Boolean): MutableSettings
    Implicit
    This member is added by an implicit conversion from MutableSettings toEnsuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  145. def ensuring(cond: Boolean, msg: => Any): MutableSettings
    Implicit
    This member is added by an implicit conversion from MutableSettings toEnsuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  146. def ensuring(cond: Boolean): MutableSettings
    Implicit
    This member is added by an implicit conversion from MutableSettings toEnsuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  147. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  148. def equals(that: Any): Boolean
    Definition Classes
    AbsSettings → AnyRef → Any
  149. val errorFn: (String) => Unit
    Definition Classes
    MutableSettingsAbsSettings
  150. val explaintypes: BooleanSetting
    Definition Classes
    StandardScalaSettings
  151. val exposeEmptyPackage: BooleanSetting
    Definition Classes
    ScalaSettings
  152. val extdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  153. val fatalWarnings: BooleanSetting
    Definition Classes
    Warnings
  154. val feature: BooleanSetting
    Definition Classes
    StandardScalaSettings
  155. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  156. val future: BooleanSetting

    Groups of Settings.

    Groups of Settings.

    Definition Classes
    ScalaSettings
  157. val g: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  158. val genPhaseGraph: StringSetting
    Definition Classes
    ScalaSettings
  159. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  160. def hashCode(): Int
    Definition Classes
    AbsSettings → AnyRef → Any
  161. val help: BooleanSetting
    Definition Classes
    StandardScalaSettings
  162. val imports: MultiStringSetting
    Definition Classes
    ScalaSettings
  163. def infoSettings: collection.immutable.List[Setting]

    If any of these settings is enabled, the compiler should print a message and exit.

    If any of these settings is enabled, the compiler should print a message and exit.

    Definition Classes
    ScalaSettings
  164. def inlineHelp: String
    Definition Classes
    ScalaSettings
  165. implicit def installEnableSettings[T <: BooleanSetting](s: T): EnableSettings[T]
    Attributes
    protected
  166. final def isDebug: Boolean
    Implicit
    This member is added by an implicit conversion from MutableSettings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  167. final def isDeveloper: Boolean
    Implicit
    This member is added by an implicit conversion from MutableSettings toSettingsOps performed by method SettingsOps in scala.reflect.internal.settings.MutableSettings.
    Definition Classes
    SettingsOps
    Annotations
    @inline()
  168. def isInfo: Boolean

    Is an info setting set? Any -option:help?

    Is an info setting set? Any -option:help?

    Definition Classes
    ScalaSettings
  169. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  170. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

    Test whether this is scaladoc we're looking at

    Definition Classes
    ScalaSettings
  171. val javabootclasspath: PathSetting
    Definition Classes
    StandardScalaSettings
  172. val javaextdirs: PathSetting
    Definition Classes
    StandardScalaSettings
  173. val jvmargs: PrefixSetting
    Definition Classes
    ScalaSettings
  174. val language: MultiChoiceSetting[languageFeatures.type]
    Definition Classes
    ScalaSettings
  175. val lint: MultiChoiceSetting[LintWarnings.type]
    Definition Classes
    Warnings
  176. def lintDeprecation: Boolean
    Definition Classes
    Warnings
  177. def lintImplicitNotFound: Boolean
    Definition Classes
    Warnings
  178. def lintImplicitRecursion: Boolean
    Definition Classes
    Warnings
  179. def lintUniversalMethods: Boolean
    Definition Classes
    Warnings
  180. def lintUnused: Boolean
    Definition Classes
    Warnings
  181. def lintValPatterns: Boolean
    Definition Classes
    Warnings
  182. val log: PhasesSetting
    Definition Classes
    ScalaSettings
  183. val logFreeTerms: BooleanSetting
    Definition Classes
    ScalaSettings
  184. val logFreeTypes: BooleanSetting
    Definition Classes
    ScalaSettings
  185. val logImplicitConv: BooleanSetting
    Definition Classes
    ScalaSettings
  186. val logReflectiveCalls: BooleanSetting
    Definition Classes
    ScalaSettings
  187. def lookupSetting(cmd: String): Option[Setting]
    Definition Classes
    AbsSettings
  188. val mainClass: StringSetting
    Definition Classes
    ScalaSettings
  189. val maxerrs: IntSetting
    Definition Classes
    ScalaSettings
  190. val maxwarns: IntSetting
    Definition Classes
    ScalaSettings
  191. def multiargInfix: Boolean
    Definition Classes
    Warnings
  192. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  193. val noCompletion: BooleanSetting
    Definition Classes
    ScalaSettings
  194. val noForwarders: BooleanSetting
    Definition Classes
    ScalaSettings
  195. val noassertions: ScalaSettings.noassertions.stabilizer$1.type.s.type forSome {val stabilizer$1: EnableSettings[BooleanSetting]}
    Definition Classes
    ScalaSettings
  196. val nobootcp: BooleanSetting
    Definition Classes
    ScalaSettings
  197. val noimports: BooleanSetting
    Definition Classes
    ScalaSettings
  198. val nonStrictPatmatAnalysis: BooleanSetting
    Definition Classes
    ScalaSettings
  199. val nopredef: BooleanSetting
    Definition Classes
    ScalaSettings
  200. val nospecialization: BooleanSetting
    Definition Classes
    ScalaSettings
  201. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  202. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  203. val nowarn: BooleanSetting
    Definition Classes
    StandardScalaSettings
  204. def nowarnings: BooleanSetting
    Definition Classes
    ScalaSettings
  205. val opt: MultiChoiceSetting[optChoices.type]
    Definition Classes
    ScalaSettings
  206. def optAddToBytecodeRepository: Boolean
    Definition Classes
    ScalaSettings
  207. def optAllowSkipClassLoading: Boolean
    Definition Classes
    ScalaSettings
  208. def optAllowSkipCoreModuleInit: Boolean
    Definition Classes
    ScalaSettings
  209. def optAssumeModulesNonNull: Boolean
    Definition Classes
    ScalaSettings
  210. def optBoxUnbox: Boolean
    Definition Classes
    ScalaSettings
  211. def optBuildCallGraph: Boolean
    Definition Classes
    ScalaSettings
  212. def optClosureInvocations: Boolean
    Definition Classes
    ScalaSettings
  213. def optCompactLocals: Boolean
    Definition Classes
    ScalaSettings
  214. def optCopyPropagation: Boolean
    Definition Classes
    ScalaSettings
  215. def optInlineFrom: List[String]
    Definition Classes
    ScalaSettings
  216. def optInlinerEnabled: Boolean
    Definition Classes
    ScalaSettings
  217. def optNone: Boolean
    Definition Classes
    ScalaSettings
  218. def optNullnessTracking: Boolean
    Definition Classes
    ScalaSettings
  219. def optRedundantCasts: Boolean
    Definition Classes
    ScalaSettings
  220. def optSimplifyJumps: Boolean
    Definition Classes
    ScalaSettings
  221. def optUnreachableCode: Boolean
    Definition Classes
    ScalaSettings
  222. def optUseAnalyzerCache: Boolean
    Definition Classes
    ScalaSettings
  223. def optWarningEmitAtInlineFailed: Boolean
    Definition Classes
    ScalaSettings
  224. def optWarningNoInlineMissingBytecode: Boolean
    Definition Classes
    ScalaSettings
  225. def optWarningNoInlineMissingScalaInlineInfoAttr: Boolean
    Definition Classes
    ScalaSettings
  226. def optWarningNoInlineMixed: Boolean
    Definition Classes
    ScalaSettings
  227. val optWarnings: MultiChoiceSetting[optWarningsChoices.type]
    Definition Classes
    ScalaSettings
  228. def optWarningsSummaryOnly: Boolean
    Definition Classes
    ScalaSettings
  229. val optimise: BooleanSetting
    Definition Classes
    ScalaSettingsStandardScalaSettings
  230. val outdir: OutputSetting
    Definition Classes
    ScalaSettings
  231. lazy val outputDirs: OutputDirs

    A list pairing source directories with their respective output directory.

    A list pairing source directories with their respective output directory.

    Tools may set outputDirs programmatically.

    The -d commandline option sets a single directory for all sources.

  232. def parseParams(args: List[String]): List[String]

    Returns any unprocessed arguments.

    Returns any unprocessed arguments.

    Attributes
    protected
  233. val pathFactory: PathFactory
  234. val plugin: MultiStringSetting
    Definition Classes
    ScalaSettings
  235. val pluginOptions: MultiStringSetting

    -P "Plugin" settings

    -P "Plugin" settings

    Definition Classes
    ScalaSettings
  236. val pluginsDir: StringSetting
    Definition Classes
    ScalaSettings
  237. lazy val prefixSettings: collection.immutable.List[PrefixSetting]

    A list of settings which act based on prefix rather than an exact match.

    A list of settings which act based on prefix rather than an exact match. This is basically -D and -J.

  238. val print: BooleanSetting
    Definition Classes
    StandardScalaSettings
  239. val printArgs: StringSetting
    Definition Classes
    ScalaSettings
  240. def printLate: BooleanSetting
    Definition Classes
    ScalaSettings
  241. val printtypes: BooleanSetting
    Definition Classes
    ScalaSettings
  242. def processArgumentString(params: String): (Boolean, List[String])
  243. def processArguments(arguments: List[String], processAll: Boolean): (Boolean, List[String])

    Iterates over the arguments applying them to settings where applicable.

    Iterates over the arguments applying them to settings where applicable. Then verifies setting dependencies are met.

    This temporarily takes a boolean indicating whether to keep processing if an argument is seen which is not a command line option. This is an expedience for the moment so that you can say

    scalac -d /tmp foo.scala -optimise

    while also allowing

    scala Program opt opt

    to get their arguments.

    Returns (success, List of unprocessed arguments)

  244. val prompt: BooleanSetting
    Definition Classes
    ScalaSettings
  245. def recreateArgs: List[String]
    Definition Classes
    AbsSettings
  246. val release: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  247. def releaseValue: Option[String]
    Definition Classes
    StandardScalaSettings
  248. val reporter: StringSetting
    Definition Classes
    ScalaSettings
  249. val require: MultiStringSetting
    Definition Classes
    ScalaSettings
  250. val resident: BooleanSetting
    Definition Classes
    ScalaSettings
  251. val rootdir: PathSetting
    Definition Classes
    StandardScalaSettings
  252. val script: StringSetting
    Definition Classes
    ScalaSettings
  253. val showPhases: BooleanSetting
    Definition Classes
    ScalaSettings
  254. val showPlugins: BooleanSetting
    Definition Classes
    ScalaSettings
  255. def showTreeDiff: Boolean
    Definition Classes
    ScalaSettings
  256. val skip: PhasesSetting
    Definition Classes
    ScalaSettings
  257. val source: ScalaVersionSetting
    Definition Classes
    ScalaSettings
    Annotations
    @nowarn()
  258. val sourceReader: StringSetting
    Definition Classes
    ScalaSettings
  259. val sourcepath: PathSetting
    Definition Classes
    StandardScalaSettings
  260. def splitParams(line: String): List[String]

    Split the given line into parameters.

  261. val stopAfter: PhasesSetting
    Definition Classes
    ScalaSettings
  262. val stopBefore: PhasesSetting
    Definition Classes
    ScalaSettings
  263. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  264. val target: ChoiceSetting
    Definition Classes
    StandardScalaSettings
  265. def targetValue: String
    Definition Classes
    StandardScalaSettings
  266. val termConflict: ChoiceSetting
    Definition Classes
    ScalaSettings
  267. def toConciseString: String
    Definition Classes
    AbsSettings
  268. def toString(): String
    Definition Classes
    AbsSettings → AnyRef → Any
  269. val unchecked: BooleanSetting
    Definition Classes
    StandardScalaSettings
  270. val uniqid: BooleanSetting
    Definition Classes
    StandardScalaSettings
  271. def unitSpecialization: Boolean
    Definition Classes
    Warnings
  272. val usejavacp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  273. val usemanifestcp: BooleanSetting
    Definition Classes
    StandardScalaSettings
  274. def userSetSettings: List[Setting]
    Definition Classes
    AbsSettings
  275. val verbose: BooleanSetting
    Definition Classes
    StandardScalaSettings
  276. val version: BooleanSetting
    Definition Classes
    StandardScalaSettings
  277. def visibleSettings: List[Setting]
    Definition Classes
    AbsSettings
  278. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  279. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  280. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  281. def warnAdaptedArgs: Boolean
    Definition Classes
    Warnings
  282. def warnByNameImplicit: Boolean
    Definition Classes
    Warnings
  283. def warnCaptured: Boolean
    Definition Classes
    Warnings
  284. def warnConstant: Boolean
    Definition Classes
    Warnings
  285. val warnDeadCode: BooleanSetting
    Definition Classes
    Warnings
  286. def warnDelayedInit: Boolean
    Definition Classes
    Warnings
  287. def warnDocDetached: Boolean
    Definition Classes
    Warnings
  288. def warnEtaSam: Boolean
    Definition Classes
    Warnings
  289. def warnEtaZero: Boolean
    Definition Classes
    Warnings
  290. val warnExtraImplicit: BooleanSetting
    Definition Classes
    Warnings
  291. def warnInaccessible: Boolean
    Definition Classes
    Warnings
  292. def warnInferAny: Boolean
    Definition Classes
    Warnings
  293. val warnMacros: ChoiceSetting
    Definition Classes
    Warnings
  294. def warnMissingInterpolator: Boolean
    Definition Classes
    Warnings
  295. val warnNonUnitIf: BooleanSetting
    Definition Classes
    Warnings
  296. val warnNonUnitStatement: Warnings.warnNonUnitStatement._1.type.s.type forSome {val _1: EnableSettings[BooleanSetting]}
    Definition Classes
    Warnings
  297. def warnNonlocalReturn: Boolean
    Definition Classes
    Warnings
  298. def warnNullaryUnit: Boolean
    Definition Classes
    Warnings
  299. val warnNumericWiden: BooleanSetting
    Definition Classes
    Warnings
  300. val warnOctalLiteral: BooleanSetting
    Definition Classes
    Warnings
  301. def warnOptionImplicit: Boolean
    Definition Classes
    Warnings
  302. def warnPackageObjectClasses: Boolean
    Definition Classes
    Warnings
  303. val warnPerformance: MultiChoiceSetting[PerformanceWarnings.type]
    Definition Classes
    Warnings
  304. def warnPolyImplicitOverload: Boolean
    Definition Classes
    Warnings
  305. def warnPrivateShadow: Boolean
    Definition Classes
    Warnings
  306. def warnRecurseWithDefault: Boolean
    Definition Classes
    Warnings
  307. def warnSerialization: Boolean
    Definition Classes
    Warnings
  308. def warnStarsAlign: Boolean
    Definition Classes
    Warnings
  309. def warnStrictUnsealedPatMat: Boolean
    Definition Classes
    Warnings
  310. def warnTypeParameterShadow: Boolean
    Definition Classes
    Warnings
  311. val warnUnused: MultiChoiceSetting[UnusedWarnings.type]
    Definition Classes
    Warnings
  312. def warnUnusedExplicits: Boolean
    Definition Classes
    Warnings
  313. def warnUnusedImplicits: Boolean
    Definition Classes
    Warnings
  314. def warnUnusedImport: Boolean
    Definition Classes
    Warnings
  315. def warnUnusedLocals: Boolean
    Definition Classes
    Warnings
  316. def warnUnusedNowarn: Boolean
    Definition Classes
    Warnings
  317. def warnUnusedParams: Boolean
    Definition Classes
    Warnings
  318. def warnUnusedPatVars: Boolean
    Definition Classes
    Warnings
  319. def warnUnusedPrivates: Boolean
    Definition Classes
    Warnings
  320. def warnUnusedSynthetics: Boolean
    Definition Classes
    Warnings
  321. val warnValueDiscard: BooleanSetting
    Definition Classes
    Warnings
  322. val warnValueOverrides: BooleanSetting
    Definition Classes
    Warnings
  323. def withErrorFn(errorFn: (String) => Unit): MutableSettings
  324. object CachePolicy
    Definition Classes
    ScalaSettings
  325. object MacroExpand
    Definition Classes
    ScalaSettings
  326. object XxmlSettings extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  327. object languageFeatures extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  328. object mixinForwarderChoices
    Definition Classes
    ScalaSettings
  329. object optChoices extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  330. object optWarningsChoices extends MultiChoiceEnumeration
    Definition Classes
    ScalaSettings
  331. object LintWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  332. object PerformanceWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings
  333. object UnusedWarnings extends MultiChoiceEnumeration
    Definition Classes
    Warnings

Deprecated Value Members

  1. def Xchecknull: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) This option is being removed

  2. def Xwarnfatal: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use fatalWarnings

  3. val Yreplsync: BooleanSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13) Unused setting will be removed

  4. def Ywarndeadcode: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use warnDeadCode

  5. def d: OutputSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.2) Use outdir instead.

  6. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MutableSettings toStringFormat[MutableSettings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  7. val isScala3: BooleanSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.9) Use currentRun.isScala3 instead

  8. val warnSelfImplicit: BooleanSetting
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.3) Use lintImplicitRecursion

  9. val xoptInlineFrom: MultiStringSetting
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.8) Deprecated alias

  10. val xoptWarnings: MultiChoiceSetting[optWarningsChoices.type]
    Definition Classes
    ScalaSettings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.8) Deprecated alias

  11. def [B](y: B): (MutableSettings, B)
    Implicit
    This member is added by an implicit conversion from MutableSettings toArrowAssoc[MutableSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from ScalaSettings

Inherited from Warnings

Inherited from StandardScalaSettings

Inherited from AbsSettings

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion SettingsOps fromMutableSettings to SettingsOps

Inherited by implicit conversion any2stringadd fromMutableSettings to any2stringadd[MutableSettings]

Inherited by implicit conversion StringFormat fromMutableSettings to StringFormat[MutableSettings]

Inherited by implicit conversion Ensuring fromMutableSettings to Ensuring[MutableSettings]

Inherited by implicit conversion ArrowAssoc fromMutableSettings to ArrowAssoc[MutableSettings]

Ungrouped