scala.tools.nsc.settings

MutableSettings

Related Doc: package settings

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 Learn more about scaladoc diagrams
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Type Members

  1. trait AbsSetting extends Ordered[Setting] with AbsSettingValue

    Definition Classes
    AbsSettings
  2. trait AbsSettingValue extends AnyRef

    Definition Classes
    AbsSettings
  3. class BooleanSetting extends Setting

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

  4. class ChoiceSetting extends Setting

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

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

    Internal use - syntax enhancements.

    Internal use - syntax enhancements.

    Attributes
    protected
  6. class IntSetting extends Setting

    A setting represented by an integer.

  7. trait InternalSetting extends AbsSetting

    Definition Classes
    AbsSettings
  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.

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

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

    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)

Value Members

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

    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

    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

    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)

    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

    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).

    arg0

    the object to compare against this object for equality.

    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

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

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

    Definition Classes
    MutableSettingsAbsScalaSettings
  9. object LintWarnings extends MultiChoiceEnumeration

    Definition Classes
    Warnings
  10. object MacroExpand

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

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

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

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

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

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

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

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

    Definition Classes
    MutableSettingsAbsScalaSettings
  19. val Xcloselim: BooleanSetting

    Definition Classes
    ScalaSettings
  20. val Xdce: BooleanSetting

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

    Definition Classes
    ScalaSettings
  22. val XfullLubs: BooleanSetting

    Definition Classes
    ScalaSettings
  23. val Xhelp: BooleanSetting

    -X "Advanced" settings

    -X "Advanced" settings

    Definition Classes
    ScalaSettings
  24. val Xlinearizer: ChoiceSetting

    Definition Classes
    ScalaSettings
  25. val XlogImplicits: BooleanSetting

    Definition Classes
    ScalaSettings
  26. val XmacroSettings: MultiStringSetting

    Definition Classes
    ScalaSettings
  27. val Xmigration: ScalaVersionSetting

    Definition Classes
    ScalaSettings
  28. val XnoPatmatAnalysis: BooleanSetting

    Definition Classes
    ScalaSettings
  29. val Xnojline: BooleanSetting

    Definition Classes
    ScalaSettings
  30. val Xprint: PhasesSetting

    Definition Classes
    ScalaSettings
  31. val Xprintpos: BooleanSetting

    Definition Classes
    ScalaSettings
  32. val Xshowcls: StringSetting

    Definition Classes
    ScalaSettings
  33. val Xshowobj: StringSetting

    Definition Classes
    ScalaSettings
  34. val Xshowtrees: BooleanSetting

    Definition Classes
    ScalaSettings
  35. val XshowtreesCompact: BooleanSetting

    Definition Classes
    ScalaSettings
  36. val XshowtreesStringified: BooleanSetting

    Definition Classes
    ScalaSettings
  37. val Xverify: BooleanSetting

    Definition Classes
    ScalaSettings
  38. val Ybackend: ChoiceSetting

    Settings motivated by GenBCode

    Settings motivated by GenBCode

    Definition Classes
    ScalaSettings
  39. val YclasspathImpl: ChoiceSetting

    Definition Classes
    ScalaSettings
  40. val Ycompacttrees: BooleanSetting

    Definition Classes
    ScalaSettings
  41. val YconstOptimization: BooleanSetting

    Definition Classes
    ScalaSettings
  42. val Ydelambdafy: ChoiceSetting

    Definition Classes
    ScalaSettings
  43. val YdisableFlatCpCaching: BooleanSetting

    Definition Classes
    ScalaSettings
  44. val YdisableUnreachablePrevention: BooleanSetting

    Definition Classes
    ScalaSettings
  45. val Ydocdebug: BooleanSetting

    Area-specific debug output.

    Area-specific debug output.

    Definition Classes
    ScalaSettings
  46. val Ydumpclasses: StringSetting

    Definition Classes
    ScalaSettings
  47. val Ygenasmp: StringSetting

    Definition Classes
    ScalaSettings
  48. val Ygenjavap: StringSetting

    Definition Classes
    ScalaSettings
  49. val Yhelp: BooleanSetting

    Definition Classes
    ScalaSettings
  50. val Yidedebug: BooleanSetting

    Definition Classes
    ScalaSettings
  51. val Yinferdebug: ScalaSettings.Yinferdebug._660.type.s.type forSome {val _660: EnableSettings[BooleanSetting]}

    Definition Classes
    ScalaSettings
  52. val YinlinerWarnings: BooleanSetting

    Definition Classes
    ScalaSettings
  53. val Yissuedebug: BooleanSetting

    Definition Classes
    ScalaSettings
  54. val Ylogcp: BooleanSetting

    Definition Classes
    ScalaSettings
  55. val YmacrodebugLite: BooleanSetting

    Definition Classes
    ScalaSettings
  56. val YmacrodebugVerbose: BooleanSetting

    Definition Classes
    ScalaSettings
  57. val Ymacroexpand: ChoiceSetting

    Definition Classes
    ScalaSettings
  58. val Ymacronoexpand: BooleanSetting

    Definition Classes
    ScalaSettings
  59. val Ymemberpos: StringSetting

    Definition Classes
    ScalaSettings
  60. val YmethodInfer: BooleanSetting

    Definition Classes
    ScalaSettings
  61. val YnoLoadImplClass: BooleanSetting

    Definition Classes
    ScalaSettings
  62. val Ynogenericsig: BooleanSetting

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

    Definition Classes
    ScalaSettings
  64. object YoptChoices extends MutableSettings.MultiChoiceEnumeration

    Definition Classes
    ScalaSettings
  65. def YoptCompactLocals: Boolean

    Definition Classes
    ScalaSettings
  66. def YoptEmptyLabels: Boolean

    Definition Classes
    ScalaSettings
  67. def YoptEmptyLineNumbers: Boolean

    Definition Classes
    ScalaSettings
  68. def YoptNone: Boolean

    Definition Classes
    ScalaSettings
  69. def YoptRecurseUnreachableJumps: Boolean

    Definition Classes
    ScalaSettings
  70. def YoptSimplifyJumps: Boolean

    Definition Classes
    ScalaSettings
  71. def YoptUnreachableCode: Boolean

    Definition Classes
    ScalaSettings
  72. val YpatmatExhaustdepth: IntSetting

    Definition Classes
    ScalaSettings
  73. val Ypatmatdebug: BooleanSetting

    Definition Classes
    ScalaSettings
  74. val Yposdebug: BooleanSetting

    Definition Classes
    ScalaSettings
  75. val YpresentationDebug: BooleanSetting

    Definition Classes
    ScalaSettings
  76. val YpresentationDelay: IntSetting

    Definition Classes
    ScalaSettings
  77. val YpresentationLog: StringSetting

    Definition Classes
    ScalaSettings
  78. val YpresentationReplay: StringSetting

    Definition Classes
    ScalaSettings
  79. val YpresentationStrict: BooleanSetting

    Definition Classes
    ScalaSettings
  80. val YpresentationVerbose: BooleanSetting

    IDE-specific settings

    IDE-specific settings

    Definition Classes
    ScalaSettings
  81. val Yquasiquotedebug: BooleanSetting

    Definition Classes
    ScalaSettings
  82. val Yrangepos: BooleanSetting

    Definition Classes
    ScalaSettings
  83. val Yrecursion: IntSetting

    Definition Classes
    ScalaSettings
  84. val Yreifycopypaste: BooleanSetting

    Definition Classes
    ScalaSettings
  85. val Yreifydebug: BooleanSetting

    Definition Classes
    ScalaSettings
  86. val Yreplclassbased: BooleanSetting

    Definition Classes
    ScalaSettings
  87. val Yreploutdir: StringSetting

    Definition Classes
    ScalaSettings
  88. val Yreplsync: BooleanSetting

    Definition Classes
    ScalaSettings
  89. val Yshow: PhasesSetting

    Definition Classes
    ScalaSettings
  90. val Yshowsymkinds: BooleanSetting

    Definition Classes
    ScalaSettings
  91. val Yshowsymowners: BooleanSetting

    Definition Classes
    ScalaSettings
  92. val Yshowsyms: BooleanSetting

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

    Definition Classes
    ScalaSettings
  94. def YstatisticsEnabled: Boolean

    Definition Classes
    ScalaSettings
  95. object YstatisticsPhases extends MutableSettings.MultiChoiceEnumeration

    Definition Classes
    ScalaSettings
  96. val Ytyperdebug: BooleanSetting

    Definition Classes
    ScalaSettings
  97. val YvirtClasses: Boolean

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

    Set of settings

    Set of settings

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

    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.

  100. val bootclasspath: PathSetting

    Path related settings.

    Path related settings.

    Definition Classes
    StandardScalaSettings
  101. val breakCycles: BooleanSetting

    Definition Classes
    ScalaSettings
  102. val browse: PhasesSetting

    Definition Classes
    ScalaSettings
  103. val check: PhasesSetting

    Definition Classes
    ScalaSettings
  104. def checkDependencies: Boolean

    Definition Classes
    AbsSettings
  105. val checkInit: BooleanSetting

    Definition Classes
    ScalaSettings
  106. val classpath: PathSetting

    Definition Classes
    ScalaSettingsStandardScalaSettings
  107. def clone(): AnyRef

    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

  108. def copy(): Settings

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

  109. def copyInto(settings: MutableSettings): Unit

  110. val d: OutputSetting

    Definition Classes
    ScalaSettingsStandardScalaSettings
  111. val debug: BooleanSetting

    Definition Classes
    ScalaSettings
  112. 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
  113. def defaultClasspath: String

    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
  114. val defines: PrefixSetting

    Definition Classes
    ScalaSettings
  115. def dependenciesFile: StringSetting

    Definition Classes
    ScalaSettings
  116. val dependencyfile: StringSetting

    Other settings.

    Other settings.

    Definition Classes
    StandardScalaSettings
  117. val deprecation: BooleanSetting

    Definition Classes
    StandardScalaSettings
  118. val developer: BooleanSetting

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

    Disable a setting

    Disable a setting

    Definition Classes
    ScalaSettings
  120. val disable: MultiStringSetting

    Definition Classes
    ScalaSettings
  121. val elidebelow: IntSetting

    Definition Classes
    ScalaSettings
  122. 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.

  123. 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.

  124. val encoding: StringSetting

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

    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
  126. def ensuring(cond: (MutableSettings) ⇒ Boolean): MutableSettings

    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
  127. def ensuring(cond: Boolean, msg: ⇒ Any): MutableSettings

    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
  128. def ensuring(cond: Boolean): MutableSettings

    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
  129. final def eq(arg0: AnyRef): Boolean

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

    Tests whether the argument (arg0) 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
  130. def equals(that: Any): Boolean

    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
  131. val errorFn: (String) ⇒ Unit

    Definition Classes
    MutableSettingsAbsSettings
  132. val etaExpandKeepsStar: BooleanSetting

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

    Enabled under -Xexperimental.

    Enabled under -Xexperimental.

    Attributes
    protected
    Definition Classes
    ScalaSettings
  134. val explaintypes: BooleanSetting

    Definition Classes
    StandardScalaSettings
  135. val exposeEmptyPackage: BooleanSetting

    Definition Classes
    ScalaSettings
  136. val extdirs: PathSetting

    Definition Classes
    StandardScalaSettings
  137. val fatalWarnings: BooleanSetting

    Definition Classes
    Warnings
  138. val feature: BooleanSetting

    Definition Classes
    StandardScalaSettings
  139. def finalize(): Unit

    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

  140. def formatted(fmtstr: String): String

    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()
  141. val future: ScalaSettings.future._368.type.s.type forSome {val _368: EnableSettings[BooleanSetting]}

    Groups of Settings.

    Groups of Settings.

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

    Enabled under -Xfuture.

    Enabled under -Xfuture.

    Attributes
    protected
    Definition Classes
    ScalaSettings
  143. val g: ChoiceSetting

    Definition Classes
    StandardScalaSettings
  144. val genPhaseGraph: StringSetting

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

    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

  146. def hashCode(): Int

    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
  147. val help: BooleanSetting

    Definition Classes
    StandardScalaSettings
  148. val inferByName: BooleanSetting

    Definition Classes
    ScalaSettings
  149. 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
  150. val inline: BooleanSetting

    Definition Classes
    ScalaSettings
  151. val inlineHandlers: BooleanSetting

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

    Attributes
    protected
  153. def isBCodeActive: Boolean

    Helper utilities for use by checkConflictingSettings()

    Helper utilities for use by checkConflictingSettings()

    Definition Classes
    ScalaSettings
  154. def isBCodeAskedFor: Boolean

    Definition Classes
    ScalaSettings
  155. def isICodeAskedFor: Boolean

    Definition Classes
    ScalaSettings
  156. def isInfo: Boolean

    Is an info setting set?

    Is an info setting set?

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

    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
  158. def isScala211: Boolean

    Definition Classes
    ScalaSettings
  159. def isScala212: Boolean

    Definition Classes
    ScalaSettings
  160. def isScaladoc: Boolean

    Test whether this is scaladoc we're looking at

    Test whether this is scaladoc we're looking at

    Definition Classes
    ScalaSettings
  161. val javabootclasspath: PathSetting

    Definition Classes
    StandardScalaSettings
  162. val javaextdirs: PathSetting

    Definition Classes
    StandardScalaSettings
  163. val jvmargs: PrefixSetting

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

    Definition Classes
    ScalaSettings
  165. object languageFeatures extends MutableSettings.MultiChoiceEnumeration

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

    Definition Classes
    Warnings
  167. val log: PhasesSetting

    Definition Classes
    ScalaSettings
  168. val logFreeTerms: BooleanSetting

    Definition Classes
    ScalaSettings
  169. val logFreeTypes: BooleanSetting

    Definition Classes
    ScalaSettings
  170. val logImplicitConv: BooleanSetting

    Definition Classes
    ScalaSettings
  171. val logReflectiveCalls: BooleanSetting

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

    Definition Classes
    AbsSettings
  173. val mainClass: StringSetting

    Definition Classes
    ScalaSettings
  174. val maxClassfileName: IntSetting

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

    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
  176. val noAdaptedArgs: BooleanSetting

    Definition Classes
    ScalaSettings
  177. val noCompletion: BooleanSetting

    Definition Classes
    ScalaSettings
  178. val noForwarders: BooleanSetting

    Definition Classes
    ScalaSettings
  179. val noassertions: BooleanSetting

    Definition Classes
    ScalaSettings
  180. val nobootcp: BooleanSetting

    Definition Classes
    ScalaSettings
  181. val noimports: BooleanSetting

    Definition Classes
    ScalaSettings
  182. val nooptimise: ScalaSettings.nooptimise._662.type.s.type forSome {val _662: EnableSettings[BooleanSetting]}

    Definition Classes
    ScalaSettings
  183. val nopredef: BooleanSetting

    Definition Classes
    ScalaSettings
  184. val nospecialization: BooleanSetting

    Definition Classes
    ScalaSettings
  185. final def notify(): Unit

    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

  186. final def notifyAll(): Unit

    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

  187. val nouescape: BooleanSetting

    Definition Classes
    ScalaSettings
  188. val nowarn: BooleanSetting

    Definition Classes
    StandardScalaSettings
  189. def nowarnings: BooleanSetting

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

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

    Enabled under -optimise.

    Enabled under -optimise.

    Definition Classes
    ScalaSettings
  192. def outdir: OutputSetting

    Definition Classes
    ScalaSettings
  193. lazy val outputDirs: OutputDirs

    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.

  194. val overrideObjects: BooleanSetting

    -Y "Private" settings

    -Y "Private" settings

    Definition Classes
    ScalaSettings
  195. val overrideVars: BooleanSetting

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

    Returns any unprocessed arguments.

    Returns any unprocessed arguments.

    Attributes
    protected
  197. val plugin: MultiStringSetting

    Definition Classes
    ScalaSettings
  198. val pluginOptions: MultiStringSetting

    -P "Plugin" settings

    -P "Plugin" settings

    Definition Classes
    ScalaSettings
  199. val pluginsDir: StringSetting

    Definition Classes
    ScalaSettings
  200. lazy val prefixSettings: HashSet[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.

  201. val print: BooleanSetting

    Definition Classes
    StandardScalaSettings
  202. def printLate: BooleanSetting

    Definition Classes
    ScalaSettings
  203. val printtypes: BooleanSetting

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

  205. 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)

  206. val prompt: BooleanSetting

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

    Definition Classes
    AbsSettings
  208. val require: MultiStringSetting

    Definition Classes
    ScalaSettings
  209. val resident: BooleanSetting

    Definition Classes
    ScalaSettings
  210. val script: StringSetting

    Definition Classes
    ScalaSettings
  211. val showPhases: BooleanSetting

    Definition Classes
    ScalaSettings
  212. val showPlugins: BooleanSetting

    Definition Classes
    ScalaSettings
  213. val skip: PhasesSetting

    Definition Classes
    ScalaSettings
  214. val source: ScalaVersionSetting

    Definition Classes
    ScalaSettings
  215. val sourceReader: StringSetting

    Definition Classes
    ScalaSettings
  216. val sourcepath: PathSetting

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

    Split the given line into parameters.

  218. val stopAfter: PhasesSetting

    Definition Classes
    ScalaSettings
  219. val stopBefore: PhasesSetting

    Definition Classes
    ScalaSettings
  220. val strictInference: BooleanSetting

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

    Definition Classes
    AnyRef
  222. val target: ChoiceSetting

    Definition Classes
    StandardScalaSettings
  223. val termConflict: ChoiceSetting

    Definition Classes
    ScalaSettings
  224. def toConciseString: String

    Definition Classes
    AbsSettings
  225. def toString(): String

    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
  226. val unchecked: BooleanSetting

    Definition Classes
    StandardScalaSettings
  227. val uniqid: BooleanSetting

    Definition Classes
    StandardScalaSettings
  228. val usejavacp: BooleanSetting

    Definition Classes
    StandardScalaSettings
  229. val usemanifestcp: BooleanSetting

    Definition Classes
    StandardScalaSettings
  230. def userSetSettings: Set[Setting]

    Definition Classes
    AbsSettings
  231. val verbose: BooleanSetting

    Definition Classes
    StandardScalaSettings
  232. val version: BooleanSetting

    Definition Classes
    StandardScalaSettings
  233. def visibleSettings: Set[Setting]

    Definition Classes
    AbsSettings
  234. final def wait(): Unit

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

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

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

    Definition Classes
    Warnings
  238. def warnByNameRightAssociative: Boolean

    Definition Classes
    Warnings
  239. val warnDeadCode: BooleanSetting

    Definition Classes
    Warnings
  240. def warnDelayedInit: Boolean

    Definition Classes
    Warnings
  241. def warnDocDetached: Boolean

    Definition Classes
    Warnings
  242. def warnInaccessible: Boolean

    Definition Classes
    Warnings
  243. def warnInferAny: Boolean

    Definition Classes
    Warnings
  244. def warnMissingInterpolator: Boolean

    Definition Classes
    Warnings
  245. def warnNullaryOverride: Boolean

    Definition Classes
    Warnings
  246. def warnNullaryUnit: Boolean

    Definition Classes
    Warnings
  247. val warnNumericWiden: BooleanSetting

    Definition Classes
    Warnings
  248. def warnOptionImplicit: Boolean

    Definition Classes
    Warnings
  249. def warnPackageObjectClasses: Boolean

    Definition Classes
    Warnings
  250. def warnPolyImplicitOverload: Boolean

    Definition Classes
    Warnings
  251. def warnPrivateShadow: Boolean

    Definition Classes
    Warnings
  252. def warnStarsAlign: Boolean

    Definition Classes
    Warnings
  253. def warnTypeParameterShadow: Boolean

    Definition Classes
    Warnings
  254. def warnUnsoundMatch: Boolean

    Definition Classes
    Warnings
  255. val warnUnused: BooleanSetting

    Definition Classes
    Warnings
  256. val warnUnusedImport: BooleanSetting

    Definition Classes
    Warnings
  257. val warnValueDiscard: BooleanSetting

    Definition Classes
    Warnings
  258. val warnValueOverrides: BooleanSetting

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

  260. val writeICode: PhasesSetting

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

    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

    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. def YwarnAdaptedArgs: Boolean

    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnAdaptedArgs

  4. def YwarnInaccessible: Boolean

    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnInaccessible

  5. def YwarnInferAny: Boolean

    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnInferAny

  6. def YwarnNullaryOverride: Boolean

    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnNullaryOverride

  7. def YwarnNullaryUnit: Boolean

    Definition Classes
    Warnings
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.2) Use warnNullaryUnit

  8. def Ywarndeadcode: BooleanSetting

    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