Class

scala.tools.nsc.settings

MutableSettings

Related Doc: package settings

Permalink

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

A mutable Settings object.

Source
MutableSettings.scala
Linear Supertypes
Mutable, ScalaSettings, Warnings, StandardScalaSettings, AbsScalaSettings, AbsSettings, reflect.internal.settings.MutableSettings, reflect.internal.settings.AbsSettings, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableSettings
  2. Mutable
  3. ScalaSettings
  4. Warnings
  5. StandardScalaSettings
  6. AbsScalaSettings
  7. AbsSettings
  8. MutableSettings
  9. AbsSettings
  10. AnyRef
  11. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableSettings(errorFn: (String) ⇒ Unit)

    Permalink

Type Members

  1. trait AbsSetting extends Ordered[Setting] with AbsSettingValue

    Permalink
    Definition Classes
    AbsSettings
  2. trait AbsSettingValue extends AnyRef

    Permalink
    Definition Classes
    AbsSettings
  3. class BooleanSetting extends Setting

    Permalink

    A setting represented by a boolean flag (false, unless set)

  4. class ChoiceSetting extends Setting

    Permalink

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

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

    Permalink

    Internal use - syntax enhancements.

    Internal use - syntax enhancements.

    Attributes
    protected
  6. class IntSetting extends Setting

    Permalink

    A setting represented by an integer.

  7. trait InternalSetting extends AbsSetting

    Permalink
    Definition Classes
    AbsSettings
  8. abstract class MultiChoiceEnumeration extends Enumeration

    Permalink

    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

    Permalink

    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

    Permalink

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

  11. class OutputDirs extends AnyRef

    Permalink

    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

    Permalink

    Set the output directory.

  13. class PathSetting extends StringSetting

    Permalink
  14. class PhasesSetting extends Setting with Clearable

    Permalink

    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 the string "all" can be used to represent all phases. (the empty list, unless set)

  15. class PrefixSetting extends Setting

    Permalink

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

  16. type ResultOfTryToSet = collection.immutable.List[String]

    Permalink
    Definition Classes
    MutableSettingsAbsSettings
  17. class ScalaVersionSetting extends Setting

    Permalink

    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 with Mutable

    Permalink

    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

    Permalink
    Definition Classes
    MutableSettings
  20. class StringSetting extends Setting

    Permalink

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

Value Members

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

    Permalink

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

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

    Permalink

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to any2stringadd[MutableSettings] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MutableSettings, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to ArrowAssoc[MutableSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink

    The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  6. def BooleanSetting(name: String, descr: String): BooleanSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  7. def ChoiceSetting(name: String, helpArg: String, descr: String, choices: List[String], default: String): ChoiceSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  8. def IntSetting(name: String, descr: String, default: Int, range: Option[(Int, Int)], parser: (String) ⇒ Option[Int]): IntSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  9. object LintWarnings extends MultiChoiceEnumeration

    Permalink
    Definition Classes
    Warnings
  10. object MacroExpand

    Permalink
    Definition Classes
    ScalaSettings
  11. def MultiChoiceSetting[E <: MultiChoiceEnumeration](name: String, helpArg: String, descr: String, domain: E, default: Option[List[String]] = None): MultiChoiceSetting[E]

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  12. def MultiStringSetting(name: String, arg: String, descr: String): MultiStringSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  13. def OutputSetting(outputDirs: OutputDirs, default: String): OutputSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  14. def PathSetting(name: String, descr: String, default: String): PathSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  15. def PhasesSetting(name: String, descr: String, default: String = ""): PhasesSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  16. def PrefixSetting(name: String, prefix: String, descr: String): PrefixSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  17. def ScalaVersionSetting(name: String, arg: String, descr: String, initial: ScalaVersion, default: Option[ScalaVersion] = None): ScalaVersionSetting

    Permalink
  18. def StringSetting(name: String, arg: String, descr: String, default: String): StringSetting

    Permalink
    Definition Classes
    MutableSettingsAbsScalaSettings
  19. val Xcloselim: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  20. val Xdce: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  21. val Xexperimental: ScalaSettings.Xexperimental._141.type.s.type forSome {val _141: EnableSettings[BooleanSetting]}

    Permalink
    Definition Classes
    ScalaSettings
  22. val XfullLubs: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  23. val Xhelp: BooleanSetting

    Permalink

    -X "Advanced" settings

    -X "Advanced" settings

    Definition Classes
    ScalaSettings
  24. val Xlinearizer: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  25. val XlogImplicits: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  26. val XmacroSettings: MultiStringSetting

    Permalink
    Definition Classes
    ScalaSettings
  27. val Xmigration: ScalaVersionSetting

    Permalink
    Definition Classes
    ScalaSettings
  28. val XnoPatmatAnalysis: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  29. val Xnojline: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  30. val Xprint: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  31. val Xprintpos: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  32. val Xshowcls: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  33. val Xshowobj: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  34. val Xshowtrees: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  35. val XshowtreesCompact: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  36. val XshowtreesStringified: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  37. val Xverify: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  38. val Xxml: MultiChoiceSetting[XxmlSettings.type]

    Permalink
    Definition Classes
    ScalaSettings
  39. object XxmlSettings extends MutableSettings.MultiChoiceEnumeration

    Permalink
    Definition Classes
    ScalaSettings
  40. val Ybackend: ChoiceSetting

    Permalink

    Settings motivated by GenBCode

    Settings motivated by GenBCode

    Definition Classes
    ScalaSettings
  41. val YclasspathImpl: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  42. val Ycompacttrees: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  43. val YconstOptimization: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  44. val Ydelambdafy: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  45. val YdisableFlatCpCaching: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  46. val YdisableUnreachablePrevention: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  47. val Ydocdebug: BooleanSetting

    Permalink

    Area-specific debug output.

    Area-specific debug output.

    Definition Classes
    ScalaSettings
  48. val Ydumpclasses: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  49. val Ygenasmp: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  50. val Ygenjavap: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  51. val Yhelp: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  52. val Yidedebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  53. val Yinferdebug: ScalaSettings.Yinferdebug._738.type.s.type forSome {val _738: EnableSettings[BooleanSetting]}

    Permalink
    Definition Classes
    ScalaSettings
  54. val YinlinerWarnings: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  55. val Yissuedebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  56. val Ylogcp: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  57. val YmacrodebugLite: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  58. val YmacrodebugVerbose: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  59. val Ymacroexpand: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  60. val Ymacronoexpand: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  61. val Ymemberpos: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  62. val YmethodInfer: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  63. val YnoLoadImplClass: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  64. val Ynogenericsig: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  65. val Yopt: MultiChoiceSetting[YoptChoices.type]

    Permalink
    Definition Classes
    ScalaSettings
  66. def YoptAddToBytecodeRepository: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  67. def YoptBuildCallGraph: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  68. object YoptChoices extends MutableSettings.MultiChoiceEnumeration

    Permalink
    Definition Classes
    ScalaSettings
  69. def YoptClosureElimination: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  70. def YoptCompactLocals: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  71. def YoptEmptyLabels: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  72. def YoptEmptyLineNumbers: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  73. def YoptInlineGlobal: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  74. val YoptInlineHeuristics: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  75. def YoptInlineProject: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  76. def YoptInlinerEnabled: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  77. def YoptNone: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  78. def YoptNullnessTracking: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  79. def YoptSimplifyJumps: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  80. def YoptUnreachableCode: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  81. def YoptWarningEmitAtInlineFailed: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  82. def YoptWarningNoInlineMissingBytecode: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  83. def YoptWarningNoInlineMissingScalaInlineInfoAttr: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  84. def YoptWarningNoInlineMixed: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  85. val YoptWarnings: MultiChoiceSetting[YoptWarningsChoices.type]

    Permalink
    Definition Classes
    ScalaSettings
  86. object YoptWarningsChoices extends MutableSettings.MultiChoiceEnumeration

    Permalink
    Definition Classes
    ScalaSettings
  87. val YpartialUnification: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  88. val YpatmatExhaustdepth: IntSetting

    Permalink
    Definition Classes
    ScalaSettings
  89. val Ypatmatdebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  90. val Yposdebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  91. val YpresentationAnyThread: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  92. val YpresentationDebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  93. val YpresentationDelay: IntSetting

    Permalink
    Definition Classes
    ScalaSettings
  94. val YpresentationLog: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  95. val YpresentationReplay: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  96. val YpresentationStrict: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  97. val YpresentationVerbose: BooleanSetting

    Permalink

    IDE-specific settings

    IDE-specific settings

    Definition Classes
    ScalaSettings
  98. val Yquasiquotedebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  99. val Yrangepos: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  100. val Yrecursion: IntSetting

    Permalink
    Definition Classes
    ScalaSettings
  101. val Yreifycopypaste: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  102. val Yreifydebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  103. val Yreplclassbased: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  104. val Yreploutdir: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  105. val Yreplsync: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  106. val Yshow: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  107. val Yshowsymkinds: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  108. val Yshowsymowners: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  109. val Yshowsyms: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  110. val YskipInlineInfoAttribute: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  111. val Ystatistics: MultiChoiceSetting[YstatisticsPhases.type]

    Permalink
    Definition Classes
    ScalaSettings
  112. def YstatisticsEnabled: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  113. object YstatisticsPhases extends MutableSettings.MultiChoiceEnumeration

    Permalink
    Definition Classes
    ScalaSettings
  114. val Ytyperdebug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  115. val YvirtClasses: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  116. lazy val allSettings: HashSet[Setting]

    Permalink

    Set of settings

    Set of settings

    Attributes
    protected[scala]
    Definition Classes
    ScalaSettings
  117. final def asInstanceOf[T0]: T0

    Permalink

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown

    ClassCastException if the receiver object is not an instance of the erasure of type T0.

  118. val bootclasspath: PathSetting

    Permalink

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  119. val breakCycles: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  120. val browse: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  121. val check: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  122. def checkDependencies: Boolean

    Permalink
    Definition Classes
    AbsSettings
  123. val checkInit: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  124. val classpath: PathSetting

    Permalink
    Definition Classes
    ScalaSettingsStandardScalaSettings
  125. def clone(): AnyRef

    Permalink

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
    Note

    not specified by SLS as a member of AnyRef

  126. val completion: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  127. def copy(): Settings

    Permalink

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

  128. def copyInto(settings: MutableSettings): Unit

    Permalink
  129. val d: OutputSetting

    Permalink
    Definition Classes
    ScalaSettingsStandardScalaSettings
  130. val debug: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  131. def debuginfo: ChoiceSetting

    Permalink

    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
  132. def defaultClasspath: String

    Permalink

    Against my better judgment, giving in to martin here and allowing CLASSPATH to be used automatically.

    Against my better judgment, giving in to martin here and allowing CLASSPATH to be used automatically. So for the user-specified part of the classpath:

    • If -classpath or -cp is given, it is that
    • Otherwise, if CLASSPATH is set, it is that
    • If neither of those, then "." is used.
    Attributes
    protected
    Definition Classes
    ScalaSettings
  133. val defines: PrefixSetting

    Permalink
    Definition Classes
    ScalaSettings
  134. def dependenciesFile: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  135. val dependencyfile: StringSetting

    Permalink

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  136. val deprecation: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  137. val developer: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  138. def disable(s: Setting): HashSet[Setting]

    Permalink

    Disable a setting

    Disable a setting

    Definition Classes
    ScalaSettings
  139. val disable: MultiStringSetting

    Permalink
    Definition Classes
    ScalaSettings
  140. val elidebelow: IntSetting

    Permalink
    Definition Classes
    ScalaSettings
  141. def embeddedDefaults(loader: ClassLoader): Unit

    Permalink

    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.

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

    Permalink

    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.

  143. val encoding: StringSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  144. def ensuring(cond: (MutableSettings) ⇒ Boolean, msg: ⇒ Any): MutableSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to Ensuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  145. def ensuring(cond: (MutableSettings) ⇒ Boolean): MutableSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to Ensuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  146. def ensuring(cond: Boolean, msg: ⇒ Any): MutableSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to Ensuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  147. def ensuring(cond: Boolean): MutableSettings

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to Ensuring[MutableSettings] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  148. final def eq(arg0: AnyRef): Boolean

    Permalink

    Tests whether the argument (that) is a reference to the receiver object (this).

    Tests whether the argument (that) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  149. def equals(that: Any): Boolean

    Permalink

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in scala.Any.

    that

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AbsSettings → AnyRef → Any
  150. val errorFn: (String) ⇒ Unit

    Permalink
    Definition Classes
    MutableSettingsAbsSettings
  151. val etaExpandKeepsStar: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  152. def experimentalSettings: collection.immutable.List[BooleanSetting]

    Permalink

    Enabled under -Xexperimental.

    Enabled under -Xexperimental.

    Attributes
    protected
    Definition Classes
    ScalaSettings
  153. val explaintypes: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  154. val exposeEmptyPackage: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  155. val extdirs: PathSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  156. val fatalWarnings: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  157. val feature: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  158. def finalize(): Unit

    Permalink

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
    Note

    not specified by SLS as a member of AnyRef

  159. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to StringFormat[MutableSettings] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  160. val future: ScalaSettings.future._392.type.s.type forSome {val _392: EnableSettings[BooleanSetting]}

    Permalink

    Groups of Settings.

    Groups of Settings.

    Definition Classes
    ScalaSettings
  161. def futureSettings: collection.immutable.List[BooleanSetting]

    Permalink

    Enabled under -Xfuture.

    Enabled under -Xfuture.

    Attributes
    protected
    Definition Classes
    ScalaSettings
  162. val g: ChoiceSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  163. val genPhaseGraph: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  164. final def getClass(): Class[_]

    Permalink

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  165. def hashCode(): Int

    Permalink

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

    Definition Classes
    AbsSettings → AnyRef → Any
  166. val help: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  167. val inferByName: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  168. def infoSettings: collection.immutable.List[Setting]

    Permalink

    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
  169. val inline: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  170. val inlineHandlers: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  171. implicit def installEnableSettings[T <: BooleanSetting](s: T): EnableSettings[T]

    Permalink
    Attributes
    protected
  172. def isBCodeActive: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  173. def isInfo: Boolean

    Permalink

    Is an info setting set?

    Is an info setting set?

    Definition Classes
    ScalaSettings
  174. final def isInstanceOf[T0]: Boolean

    Permalink

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  175. def isScala211: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  176. def isScala212: Boolean

    Permalink
    Definition Classes
    ScalaSettings
  177. def isScaladoc: Boolean

    Permalink

    Test whether this is scaladoc we're looking at

    Test whether this is scaladoc we're looking at

    Definition Classes
    ScalaSettings
  178. val javabootclasspath: PathSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  179. val javaextdirs: PathSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  180. val jvmargs: PrefixSetting

    Permalink
    Definition Classes
    ScalaSettings
  181. val language: MultiChoiceSetting[languageFeatures.type]

    Permalink
    Definition Classes
    ScalaSettings
  182. object languageFeatures extends MutableSettings.MultiChoiceEnumeration

    Permalink
    Definition Classes
    ScalaSettings
  183. val lint: MultiChoiceSetting[LintWarnings.type]

    Permalink
    Definition Classes
    Warnings
  184. val log: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  185. val logFreeTerms: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  186. val logFreeTypes: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  187. val logImplicitConv: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  188. val logReflectiveCalls: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  189. def lookupSetting(cmd: String): Option[Setting]

    Permalink
    Definition Classes
    AbsSettings
  190. val mainClass: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  191. val maxClassfileName: IntSetting

    Permalink
    Definition Classes
    ScalaSettings
  192. final def ne(arg0: AnyRef): Boolean

    Permalink

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  193. val noAdaptedArgs: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  194. val noCompletion: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  195. val noForwarders: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  196. val noassertions: ScalaSettings.noassertions._732.type.s.type forSome {val _732: EnableSettings[BooleanSetting]}

    Permalink
    Definition Classes
    ScalaSettings
  197. val nobootcp: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  198. val noimports: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  199. val nooptimise: ScalaSettings.nooptimise._740.type.s.type forSome {val _740: EnableSettings[BooleanSetting]}

    Permalink
    Definition Classes
    ScalaSettings
  200. val nopredef: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  201. val nospecialization: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  202. final def notify(): Unit

    Permalink

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  203. final def notifyAll(): Unit

    Permalink

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  204. val nouescape: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  205. val nowarn: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  206. def nowarnings: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  207. val optimise: ScalaSettings.optimise._72.type.s.type forSome {val _72: EnableSettings[BooleanSetting]}

    Permalink
    Definition Classes
    ScalaSettingsStandardScalaSettings
  208. def optimiseSettings: collection.immutable.List[BooleanSetting]

    Permalink

    Enabled under -optimise.

    Enabled under -optimise.

    Definition Classes
    ScalaSettings
  209. def outdir: OutputSetting

    Permalink
    Definition Classes
    ScalaSettings
  210. lazy val outputDirs: OutputDirs

    Permalink

    A list pairing source directories with their output directory.

    A list pairing source directories with their output directory. This option is not available on the command line, but can be set by other tools (IDEs especially). The command line specifies a single output directory that is used for all source files, denoted by a '*' in this list.

  211. val overrideObjects: BooleanSetting

    Permalink

    -Y "Private" settings

    -Y "Private" settings

    Definition Classes
    ScalaSettings
  212. val overrideVars: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  213. def parseParams(args: List[String]): List[String]

    Permalink

    Returns any unprocessed arguments.

    Returns any unprocessed arguments.

    Attributes
    protected
  214. val plugin: MultiStringSetting

    Permalink
    Definition Classes
    ScalaSettings
  215. val pluginOptions: MultiStringSetting

    Permalink

    -P "Plugin" settings

    -P "Plugin" settings

    Definition Classes
    ScalaSettings
  216. val pluginsDir: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  217. lazy val prefixSettings: HashSet[PrefixSetting]

    Permalink

    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.

  218. val print: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  219. def printLate: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  220. val printtypes: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  221. def processArgumentString(params: String): (Boolean, List[String])

    Permalink
  222. def processArguments(arguments: List[String], processAll: Boolean): (Boolean, List[String])

    Permalink

    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)

  223. val prompt: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  224. def recreateArgs: collection.immutable.List[String]

    Permalink
    Definition Classes
    AbsSettings
  225. val require: MultiStringSetting

    Permalink
    Definition Classes
    ScalaSettings
  226. val resident: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  227. val script: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  228. val showPhases: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  229. val showPlugins: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  230. val skip: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  231. val source: ScalaVersionSetting

    Permalink
    Definition Classes
    ScalaSettings
  232. val sourceReader: StringSetting

    Permalink
    Definition Classes
    ScalaSettings
  233. val sourcepath: PathSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  234. def splitParams(line: String): List[String]

    Permalink

    Split the given line into parameters.

  235. val stopAfter: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  236. val stopBefore: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  237. val strictInference: BooleanSetting

    Permalink
    Definition Classes
    ScalaSettings
  238. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  239. val target: ChoiceSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  240. val termConflict: ChoiceSetting

    Permalink
    Definition Classes
    ScalaSettings
  241. def toConciseString: String

    Permalink
    Definition Classes
    AbsSettings
  242. def toString(): String

    Permalink

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AbsSettings → AnyRef → Any
  243. val unchecked: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  244. val uniqid: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  245. val usejavacp: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  246. val usemanifestcp: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  247. def userSetSettings: Set[Setting]

    Permalink
    Definition Classes
    AbsSettings
  248. val verbose: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  249. val version: BooleanSetting

    Permalink
    Definition Classes
    StandardScalaSettings
  250. def visibleSettings: Set[Setting]

    Permalink
    Definition Classes
    AbsSettings
  251. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  254. def warnAdaptedArgs: Boolean

    Permalink
    Definition Classes
    Warnings
  255. def warnByNameRightAssociative: Boolean

    Permalink
    Definition Classes
    Warnings
  256. val warnDeadCode: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  257. def warnDelayedInit: Boolean

    Permalink
    Definition Classes
    Warnings
  258. def warnDocDetached: Boolean

    Permalink
    Definition Classes
    Warnings
  259. def warnInaccessible: Boolean

    Permalink
    Definition Classes
    Warnings
  260. def warnInferAny: Boolean

    Permalink
    Definition Classes
    Warnings
  261. def warnMissingInterpolator: Boolean

    Permalink
    Definition Classes
    Warnings
  262. def warnNullaryOverride: Boolean

    Permalink
    Definition Classes
    Warnings
  263. def warnNullaryUnit: Boolean

    Permalink
    Definition Classes
    Warnings
  264. val warnNumericWiden: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  265. def warnOptionImplicit: Boolean

    Permalink
    Definition Classes
    Warnings
  266. def warnPackageObjectClasses: Boolean

    Permalink
    Definition Classes
    Warnings
  267. def warnPolyImplicitOverload: Boolean

    Permalink
    Definition Classes
    Warnings
  268. def warnPrivateShadow: Boolean

    Permalink
    Definition Classes
    Warnings
  269. def warnStarsAlign: Boolean

    Permalink
    Definition Classes
    Warnings
  270. def warnTypeParameterShadow: Boolean

    Permalink
    Definition Classes
    Warnings
  271. def warnUnsoundMatch: Boolean

    Permalink
    Definition Classes
    Warnings
  272. val warnUnused: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  273. val warnUnusedImport: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  274. val warnValueDiscard: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  275. val warnValueOverrides: BooleanSetting

    Permalink
    Definition Classes
    Warnings
  276. def withErrorFn(errorFn: (String) ⇒ Unit): MutableSettings

    Permalink
  277. val writeICode: PhasesSetting

    Permalink
    Definition Classes
    ScalaSettings
  278. def [B](y: B): (MutableSettings, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MutableSettings to ArrowAssoc[MutableSettings] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def Xchecknull: BooleanSetting

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) This option is being removed

  2. def Xwarnfatal: BooleanSetting

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use fatalWarnings

  3. def YwarnAdaptedArgs: Boolean

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnAdaptedArgs

  4. def YwarnInaccessible: Boolean

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnInaccessible

  5. def YwarnInferAny: Boolean

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnInferAny

  6. def YwarnNullaryOverride: Boolean

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnNullaryOverride

  7. def YwarnNullaryUnit: Boolean

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnNullaryUnit

  8. def Ywarndeadcode: BooleanSetting

    Permalink
    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use warnDeadCode

Inherited from Mutable

Inherited from ScalaSettings

Inherited from Warnings

Inherited from StandardScalaSettings

Inherited from AbsScalaSettings

Inherited from AbsSettings

Inherited from reflect.internal.settings.MutableSettings

Inherited from reflect.internal.settings.AbsSettings

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MutableSettings to any2stringadd[MutableSettings]

Inherited by implicit conversion StringFormat from MutableSettings to StringFormat[MutableSettings]

Inherited by implicit conversion Ensuring from MutableSettings to Ensuring[MutableSettings]

Inherited by implicit conversion ArrowAssoc from MutableSettings to ArrowAssoc[MutableSettings]

Ungrouped