scala.tools.nsc

# Settings

###
Related Doc: package nsc

#### class Settings extends MutableSettings

A compatibility stub.

Source
  Settings.scala

Linear Supertypes
MutableSettings, Mutable, ScalaSettings, Warnings, StandardScalaSettings, AbsScalaSettings, AbsSettings, MutableSettings, AbsSettings, AnyRef, Any
Known Subclasses
FscSettings, GenericRunnerSettings
Type Hierarchy Learn more about scaladoc diagrams
Ordering

1. Alphabetic
2. By inheritance

Inherited

1. Settings
2. MutableSettings
3. Mutable
4. ScalaSettings
5. Warnings
6. StandardScalaSettings
7. AbsScalaSettings
8. AbsSettings
9. MutableSettings
10. AbsSettings
11. AnyRef
12. 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 Settings()

2. #### new Settings(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)

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

   Definition Classes
     MutableSettings

4. #### class ChoiceSetting extends Setting

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

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

   Definition Classes
     MutableSettings

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

   Internal use - syntax enhancements.

   Internal use - syntax enhancements.

   Attributes
     protected
   Definition Classes
     MutableSettings

6. #### class IntSetting extends Setting

   A setting represented by an integer.

   A setting represented by an integer.

   Definition Classes
     MutableSettings

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.

   Definition Classes
     MutableSettings

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.

   Definition Classes
     MutableSettings

10. #### class MultiStringSetting extends Setting with Clearable

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

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

    Definition Classes
      MutableSettings

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.

    Definition Classes
      MutableSettings

12. #### class OutputSetting extends StringSetting

    Set the output directory.

    Set the output directory.

    Definition Classes
      MutableSettings

13. #### class PathSetting extends StringSetting

    Definition Classes
      MutableSettings

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)

    Definition Classes
      MutableSettings

15. #### class PrefixSetting extends Setting

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

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

    Definition Classes
      MutableSettings

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

    Definition Classes
      MutableSettings → AbsSettings

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

    Definition Classes
      MutableSettings

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.

    Definition Classes
      MutableSettings

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)

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

    Definition Classes
      MutableSettings

### 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 Settings to any2stringadd[Settings] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd

4. #### def ->[B](y: B): (Settings, B)

   Implicit information
     This member is added by an implicit conversion from Settings to ArrowAssoc[Settings] 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
     MutableSettings → AbsScalaSettings

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

   Definition Classes
     MutableSettings → AbsScalaSettings

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

   Definition Classes
     MutableSettings → AbsScalaSettings

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
      MutableSettings → AbsScalaSettings

12. #### def MultiStringSetting(name: String, arg: String, descr: String): MultiStringSetting

    Definition Classes
      MutableSettings → AbsScalaSettings

13. #### def OutputSetting(outputDirs: OutputDirs, default: String): OutputSetting

    Definition Classes
      MutableSettings → AbsScalaSettings

14. #### def PathSetting(name: String, descr: String, default: String): PathSetting

    Definition Classes
      MutableSettings → AbsScalaSettings

15. #### def PhasesSetting(name: String, descr: String, default: String = ""): PhasesSetting

    Definition Classes
      MutableSettings → AbsScalaSettings

16. #### def PrefixSetting(name: String, prefix: String, descr: String): PrefixSetting

    Definition Classes
      MutableSettings → AbsScalaSettings

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

    Definition Classes
      MutableSettings

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

    Definition Classes
      MutableSettings → AbsScalaSettings

19. #### val Xcloselim: BooleanSetting

    Definition Classes
      ScalaSettings

20. #### val Xdce: BooleanSetting

    Definition Classes
      ScalaSettings

21. #### val Xexperimental: settings.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 Xxml: MultiChoiceSetting[XxmlSettings.type]

    Definition Classes
      ScalaSettings

39. #### object XxmlSettings extends MutableSettings.MultiChoiceEnumeration

    Definition Classes
      ScalaSettings

40. #### val Ybackend: ChoiceSetting

    Settings motivated by GenBCode

    Settings motivated by GenBCode

    Definition Classes
      ScalaSettings

41. #### val YclasspathImpl: ChoiceSetting

    Definition Classes
      ScalaSettings

42. #### val Ycompacttrees: BooleanSetting

    Definition Classes
      ScalaSettings

43. #### val YconstOptimization: BooleanSetting

    Definition Classes
      ScalaSettings

44. #### val Ydelambdafy: ChoiceSetting

    Definition Classes
      ScalaSettings

45. #### val YdisableFlatCpCaching: BooleanSetting

    Definition Classes
      ScalaSettings

46. #### val YdisableUnreachablePrevention: BooleanSetting

    Definition Classes
      ScalaSettings

47. #### val Ydocdebug: BooleanSetting

    Area-specific debug output.

    Area-specific debug output.

    Definition Classes
      ScalaSettings

48. #### val Ydumpclasses: StringSetting

    Definition Classes
      ScalaSettings

49. #### val Ygenasmp: StringSetting

    Definition Classes
      ScalaSettings

50. #### val Ygenjavap: StringSetting

    Definition Classes
      ScalaSettings

51. #### val Yhelp: BooleanSetting

    Definition Classes
      ScalaSettings

52. #### val Yidedebug: BooleanSetting

    Definition Classes
      ScalaSettings

53. #### val Yinferdebug: settings.ScalaSettings.Yinferdebug._733.type.s.type forSome {val _733: EnableSettings[BooleanSetting]}

    Definition Classes
      ScalaSettings

54. #### val YinlinerWarnings: BooleanSetting

    Definition Classes
      ScalaSettings

55. #### val Yissuedebug: BooleanSetting

    Definition Classes
      ScalaSettings

56. #### val Ylogcp: BooleanSetting

    Definition Classes
      ScalaSettings

57. #### val YmacrodebugLite: BooleanSetting

    Definition Classes
      ScalaSettings

58. #### val YmacrodebugVerbose: BooleanSetting

    Definition Classes
      ScalaSettings

59. #### val Ymacroexpand: ChoiceSetting

    Definition Classes
      ScalaSettings

60. #### val Ymacronoexpand: BooleanSetting

    Definition Classes
      ScalaSettings

61. #### val Ymemberpos: StringSetting

    Definition Classes
      ScalaSettings

62. #### val YmethodInfer: BooleanSetting

    Definition Classes
      ScalaSettings

63. #### val YnoLoadImplClass: BooleanSetting

    Definition Classes
      ScalaSettings

64. #### val Ynogenericsig: BooleanSetting

    Definition Classes
      ScalaSettings

65. #### val Yopt: MultiChoiceSetting[YoptChoices.type]

    Definition Classes
      ScalaSettings

66. #### object YoptChoices extends MutableSettings.MultiChoiceEnumeration

    Definition Classes
      ScalaSettings

67. #### def YoptCompactLocals: Boolean

    Definition Classes
      ScalaSettings

68. #### def YoptEmptyLabels: Boolean

    Definition Classes
      ScalaSettings

69. #### def YoptEmptyLineNumbers: Boolean

    Definition Classes
      ScalaSettings

70. #### def YoptInlineGlobal: Boolean

    Definition Classes
      ScalaSettings

71. #### val YoptInlineHeuristics: ChoiceSetting

    Definition Classes
      ScalaSettings

72. #### def YoptInlineProject: Boolean

    Definition Classes
      ScalaSettings

73. #### def YoptInlinerEnabled: Boolean

    Definition Classes
      ScalaSettings

74. #### def YoptNone: Boolean

    Definition Classes
      ScalaSettings

75. #### def YoptNullnessTracking: Boolean

    Definition Classes
      ScalaSettings

76. #### def YoptSimplifyJumps: Boolean

    Definition Classes
      ScalaSettings

77. #### def YoptUnreachableCode: Boolean

    Definition Classes
      ScalaSettings

78. #### def YoptWarningEmitAtInlineFailed: Boolean

    Definition Classes
      ScalaSettings

79. #### def YoptWarningNoInlineMissingBytecode: Boolean

    Definition Classes
      ScalaSettings

80. #### def YoptWarningNoInlineMissingScalaInlineInfoAttr: Boolean

    Definition Classes
      ScalaSettings

81. #### def YoptWarningNoInlineMixed: Boolean

    Definition Classes
      ScalaSettings

82. #### val YoptWarnings: MultiChoiceSetting[YoptWarningsChoices.type]

    Definition Classes
      ScalaSettings

83. #### object YoptWarningsChoices extends MutableSettings.MultiChoiceEnumeration

    Definition Classes
      ScalaSettings

84. #### val YpatmatExhaustdepth: IntSetting

    Definition Classes
      ScalaSettings

85. #### val Ypatmatdebug: BooleanSetting

    Definition Classes
      ScalaSettings

86. #### val Yposdebug: BooleanSetting

    Definition Classes
      ScalaSettings

87. #### val YpresentationDebug: BooleanSetting

    Definition Classes
      ScalaSettings

88. #### val YpresentationDelay: IntSetting

    Definition Classes
      ScalaSettings

89. #### val YpresentationLog: StringSetting

    Definition Classes
      ScalaSettings

90. #### val YpresentationReplay: StringSetting

    Definition Classes
      ScalaSettings

91. #### val YpresentationStrict: BooleanSetting

    Definition Classes
      ScalaSettings

92. #### val YpresentationVerbose: BooleanSetting

    IDE-specific settings

    IDE-specific settings

    Definition Classes
      ScalaSettings

93. #### val Yquasiquotedebug: BooleanSetting

    Definition Classes
      ScalaSettings

94. #### val Yrangepos: BooleanSetting

    Definition Classes
      ScalaSettings

95. #### val Yrecursion: IntSetting

    Definition Classes
      ScalaSettings

96. #### val Yreifycopypaste: BooleanSetting

    Definition Classes
      ScalaSettings

97. #### val Yreifydebug: BooleanSetting

    Definition Classes
      ScalaSettings

98. #### val Yreplclassbased: BooleanSetting

    Definition Classes
      ScalaSettings

99. #### val Yreploutdir: StringSetting

    Definition Classes
      ScalaSettings

100. #### val Yreplsync: BooleanSetting

     Definition Classes
       ScalaSettings

101. #### val Yshow: PhasesSetting

     Definition Classes
       ScalaSettings

102. #### val Yshowsymkinds: BooleanSetting

     Definition Classes
       ScalaSettings

103. #### val Yshowsymowners: BooleanSetting

     Definition Classes
       ScalaSettings

104. #### val Yshowsyms: BooleanSetting

     Definition Classes
       ScalaSettings

105. #### val YskipInlineInfoAttribute: BooleanSetting

     Definition Classes
       ScalaSettings

106. #### val Ystatistics: MultiChoiceSetting[YstatisticsPhases.type]

     Definition Classes
       ScalaSettings

107. #### def YstatisticsEnabled: Boolean

     Definition Classes
       ScalaSettings

108. #### object YstatisticsPhases extends MutableSettings.MultiChoiceEnumeration

     Definition Classes
       ScalaSettings

109. #### val Ytyperdebug: BooleanSetting

     Definition Classes
       ScalaSettings

110. #### val YvirtClasses: Boolean

     Definition Classes
       ScalaSettings

111. #### lazy val allSettings: HashSet[Setting]

     Set of settings

     Set of settings

     Attributes
       protected[scala]
     Definition Classes
       ScalaSettings

112. #### 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`.

113. #### val bootclasspath: PathSetting

     Path related settings.

     Path related settings.

     Definition Classes
       StandardScalaSettings

114. #### val breakCycles: BooleanSetting

     Definition Classes
       ScalaSettings

115. #### val browse: PhasesSetting

     Definition Classes
       ScalaSettings

116. #### val check: PhasesSetting

     Definition Classes
       ScalaSettings

117. #### def checkDependencies: Boolean

     Definition Classes
       AbsSettings

118. #### val checkInit: BooleanSetting

     Definition Classes
       ScalaSettings

119. #### val classpath: PathSetting

     Definition Classes
       ScalaSettings → StandardScalaSettings

120. #### 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

121. #### def copy(): Settings

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

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

     Definition Classes
       MutableSettings

122. #### def copyInto(settings: MutableSettings): Unit

     Definition Classes
       MutableSettings

123. #### val d: OutputSetting

     Definition Classes
       ScalaSettings → StandardScalaSettings

124. #### val debug: BooleanSetting

     Definition Classes
       ScalaSettings

125. #### 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

126. #### 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

127. #### val defines: PrefixSetting

     Definition Classes
       ScalaSettings

128. #### def dependenciesFile: StringSetting

     Definition Classes
       ScalaSettings

129. #### val dependencyfile: StringSetting

     Other settings.

     Other settings.

     Definition Classes
       StandardScalaSettings

130. #### val deprecation: BooleanSetting

     Definition Classes
       StandardScalaSettings

131. #### val developer: BooleanSetting

     Definition Classes
       ScalaSettings

132. #### def disable(s: Setting): HashSet[Setting]

     Disable a setting

     Disable a setting

     Definition Classes
       ScalaSettings

133. #### val disable: MultiStringSetting

     Definition Classes
       ScalaSettings

134. #### val elidebelow: IntSetting

     Definition Classes
       ScalaSettings

135. #### 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.

     Definition Classes
       MutableSettings

136. #### 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.

     Definition Classes
       MutableSettings

137. #### val encoding: StringSetting

     Definition Classes
       StandardScalaSettings

138. #### def ensuring(cond: (Settings) ⇒ Boolean, msg: ⇒ Any): Settings

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

139. #### def ensuring(cond: (Settings) ⇒ Boolean): Settings

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

140. #### def ensuring(cond: Boolean, msg: ⇒ Any): Settings

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

141. #### def ensuring(cond: Boolean): Settings

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

142. #### 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

143. #### 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

144. #### val errorFn: (String) ⇒ Unit

     Definition Classes
       MutableSettings → AbsSettings

145. #### val etaExpandKeepsStar: BooleanSetting

     Definition Classes
       ScalaSettings

146. #### def experimentalSettings: collection.immutable.List[BooleanSetting]

     Enabled under -Xexperimental.

     Enabled under -Xexperimental.

     Attributes
       protected
     Definition Classes
       ScalaSettings

147. #### val explaintypes: BooleanSetting

     Definition Classes
       StandardScalaSettings

148. #### val exposeEmptyPackage: BooleanSetting

     Definition Classes
       ScalaSettings

149. #### val extdirs: PathSetting

     Definition Classes
       StandardScalaSettings

150. #### val fatalWarnings: BooleanSetting

     Definition Classes
       Warnings

151. #### val feature: BooleanSetting

     Definition Classes
       StandardScalaSettings

152. #### 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

153. #### def formatted(fmtstr: String): String

     Implicit information
       This member is added by an implicit conversion from Settings to StringFormat[Settings] performed by method StringFormat in scala.Predef.
     Definition Classes
       StringFormat
     Annotations
       @inline()

154. #### val future: settings.ScalaSettings.future._391.type.s.type forSome {val _391: EnableSettings[BooleanSetting]}

     Groups of Settings.

     Groups of Settings.

     Definition Classes
       ScalaSettings

155. #### def futureSettings: collection.immutable.List[BooleanSetting]

     Enabled under -Xfuture.

     Enabled under -Xfuture.

     Attributes
       protected
     Definition Classes
       ScalaSettings

156. #### val g: ChoiceSetting

     Definition Classes
       StandardScalaSettings

157. #### val genPhaseGraph: StringSetting

     Definition Classes
       ScalaSettings

158. #### 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

159. #### 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

160. #### val help: BooleanSetting

     Definition Classes
       StandardScalaSettings

161. #### val inferByName: BooleanSetting

     Definition Classes
       ScalaSettings

162. #### 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

163. #### val inline: BooleanSetting

     Definition Classes
       ScalaSettings

164. #### val inlineHandlers: BooleanSetting

     Definition Classes
       ScalaSettings

165. #### implicit def installEnableSettings[T <: BooleanSetting](s: T): EnableSettings[T]

     Attributes
       protected
     Definition Classes
       MutableSettings

166. #### def isBCodeActive: Boolean

     Definition Classes
       ScalaSettings

167. #### def isInfo: Boolean

     Is an info setting set?

     Is an info setting set?

     Definition Classes
       ScalaSettings

168. #### 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

169. #### def isScala211: Boolean

     Definition Classes
       ScalaSettings

170. #### def isScala212: Boolean

     Definition Classes
       ScalaSettings

171. #### def isScaladoc: Boolean

     Test whether this is scaladoc we're looking at

     Test whether this is scaladoc we're looking at

     Definition Classes
       ScalaSettings

172. #### val javabootclasspath: PathSetting

     Definition Classes
       StandardScalaSettings

173. #### val javaextdirs: PathSetting

     Definition Classes
       StandardScalaSettings

174. #### val jvmargs: PrefixSetting

     Definition Classes
       ScalaSettings

175. #### val language: MultiChoiceSetting[languageFeatures.type]

     Definition Classes
       ScalaSettings

176. #### object languageFeatures extends MutableSettings.MultiChoiceEnumeration

     Definition Classes
       ScalaSettings

177. #### val lint: MultiChoiceSetting[LintWarnings.type]

     Definition Classes
       Warnings

178. #### val log: PhasesSetting

     Definition Classes
       ScalaSettings

179. #### val logFreeTerms: BooleanSetting

     Definition Classes
       ScalaSettings

180. #### val logFreeTypes: BooleanSetting

     Definition Classes
       ScalaSettings

181. #### val logImplicitConv: BooleanSetting

     Definition Classes
       ScalaSettings

182. #### val logReflectiveCalls: BooleanSetting

     Definition Classes
       ScalaSettings

183. #### def lookupSetting(cmd: String): Option[Setting]

     Definition Classes
       AbsSettings

184. #### val mainClass: StringSetting

     Definition Classes
       ScalaSettings

185. #### val maxClassfileName: IntSetting

     Definition Classes
       ScalaSettings

186. #### 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

187. #### val noAdaptedArgs: BooleanSetting

     Definition Classes
       ScalaSettings

188. #### val noCompletion: BooleanSetting

     Definition Classes
       ScalaSettings

189. #### val noForwarders: BooleanSetting

     Definition Classes
       ScalaSettings

190. #### val noassertions: settings.ScalaSettings.noassertions._727.type.s.type forSome {val _727: EnableSettings[BooleanSetting]}

     Definition Classes
       ScalaSettings

191. #### val nobootcp: BooleanSetting

     Definition Classes
       ScalaSettings

192. #### val noimports: BooleanSetting

     Definition Classes
       ScalaSettings

193. #### val nooptimise: settings.ScalaSettings.nooptimise._735.type.s.type forSome {val _735: EnableSettings[BooleanSetting]}

     Definition Classes
       ScalaSettings

194. #### val nopredef: BooleanSetting

     Definition Classes
       ScalaSettings

195. #### val nospecialization: BooleanSetting

     Definition Classes
       ScalaSettings

196. #### 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

197. #### 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

198. #### val nouescape: BooleanSetting

     Definition Classes
       ScalaSettings

199. #### val nowarn: BooleanSetting

     Definition Classes
       StandardScalaSettings

200. #### def nowarnings: BooleanSetting

     Definition Classes
       ScalaSettings

201. #### val optimise: settings.ScalaSettings.optimise._72.type.s.type forSome {val _72: EnableSettings[BooleanSetting]}

     Definition Classes
       ScalaSettings → StandardScalaSettings

202. #### def optimiseSettings: collection.immutable.List[BooleanSetting]

     Enabled under -optimise.

     Enabled under -optimise.

     Definition Classes
       ScalaSettings

203. #### def outdir: OutputSetting

     Definition Classes
       ScalaSettings

204. #### 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.

     Definition Classes
       MutableSettings

205. #### val overrideObjects: BooleanSetting

     -Y "Private" settings

     -Y "Private" settings

     Definition Classes
       ScalaSettings

206. #### val overrideVars: BooleanSetting

     Definition Classes
       ScalaSettings

207. #### def parseParams(args: List[String]): List[String]

     Returns any unprocessed arguments.

     Returns any unprocessed arguments.

     Attributes
       protected
     Definition Classes
       MutableSettings

208. #### val plugin: MultiStringSetting

     Definition Classes
       ScalaSettings

209. #### val pluginOptions: MultiStringSetting

     -P "Plugin" settings

     -P "Plugin" settings

     Definition Classes
       ScalaSettings

210. #### val pluginsDir: StringSetting

     Definition Classes
       ScalaSettings

211. #### 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.

     Definition Classes
       MutableSettings

212. #### val print: BooleanSetting

     Definition Classes
       StandardScalaSettings

213. #### def printLate: BooleanSetting

     Definition Classes
       ScalaSettings

214. #### val printtypes: BooleanSetting

     Definition Classes
       ScalaSettings

215. #### def processArgumentString(params: String): (Boolean, List[String])

     Definition Classes
       MutableSettings

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

     Definition Classes
       MutableSettings

217. #### val prompt: BooleanSetting

     Definition Classes
       ScalaSettings

218. #### def recreateArgs: collection.immutable.List[String]

     Definition Classes
       AbsSettings

219. #### val require: MultiStringSetting

     Definition Classes
       ScalaSettings

220. #### val resident: BooleanSetting

     Definition Classes
       ScalaSettings

221. #### val script: StringSetting

     Definition Classes
       ScalaSettings

222. #### val showPhases: BooleanSetting

     Definition Classes
       ScalaSettings

223. #### val showPlugins: BooleanSetting

     Definition Classes
       ScalaSettings

224. #### val skip: PhasesSetting

     Definition Classes
       ScalaSettings

225. #### val source: ScalaVersionSetting

     Definition Classes
       ScalaSettings

226. #### val sourceReader: StringSetting

     Definition Classes
       ScalaSettings

227. #### val sourcepath: PathSetting

     Definition Classes
       StandardScalaSettings

228. #### def splitParams(line: String): List[String]

     Split the given line into parameters.

     Split the given line into parameters.

     Definition Classes
       MutableSettings

229. #### val stopAfter: PhasesSetting

     Definition Classes
       ScalaSettings

230. #### val stopBefore: PhasesSetting

     Definition Classes
       ScalaSettings

231. #### val strictInference: BooleanSetting

     Definition Classes
       ScalaSettings

232. #### final def synchronized[T0](arg0: ⇒ T0): T0

     Definition Classes
       AnyRef

233. #### val target: ChoiceSetting

     Definition Classes
       StandardScalaSettings

234. #### val termConflict: ChoiceSetting

     Definition Classes
       ScalaSettings

235. #### def toConciseString: String

     Definition Classes
       AbsSettings

236. #### 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

237. #### val unchecked: BooleanSetting

     Definition Classes
       StandardScalaSettings

238. #### val uniqid: BooleanSetting

     Definition Classes
       StandardScalaSettings

239. #### val usejavacp: BooleanSetting

     Definition Classes
       StandardScalaSettings

240. #### val usemanifestcp: BooleanSetting

     Definition Classes
       StandardScalaSettings

241. #### def userSetSettings: Set[Setting]

     Definition Classes
       AbsSettings

242. #### val verbose: BooleanSetting

     Definition Classes
       StandardScalaSettings

243. #### val version: BooleanSetting

     Definition Classes
       StandardScalaSettings

244. #### def visibleSettings: Set[Setting]

     Definition Classes
       AbsSettings

245. #### final def wait(): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

246. #### final def wait(arg0: Long, arg1: Int): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

247. #### final def wait(arg0: Long): Unit

     Definition Classes
       AnyRef
     Annotations
       @throws( ... )

248. #### def warnAdaptedArgs: Boolean

     Definition Classes
       Warnings

249. #### def warnByNameRightAssociative: Boolean

     Definition Classes
       Warnings

250. #### val warnDeadCode: BooleanSetting

     Definition Classes
       Warnings

251. #### def warnDelayedInit: Boolean

     Definition Classes
       Warnings

252. #### def warnDocDetached: Boolean

     Definition Classes
       Warnings

253. #### def warnInaccessible: Boolean

     Definition Classes
       Warnings

254. #### def warnInferAny: Boolean

     Definition Classes
       Warnings

255. #### def warnMissingInterpolator: Boolean

     Definition Classes
       Warnings

256. #### def warnNullaryOverride: Boolean

     Definition Classes
       Warnings

257. #### def warnNullaryUnit: Boolean

     Definition Classes
       Warnings

258. #### val warnNumericWiden: BooleanSetting

     Definition Classes
       Warnings

259. #### def warnOptionImplicit: Boolean

     Definition Classes
       Warnings

260. #### def warnPackageObjectClasses: Boolean

     Definition Classes
       Warnings

261. #### def warnPolyImplicitOverload: Boolean

     Definition Classes
       Warnings

262. #### def warnPrivateShadow: Boolean

     Definition Classes
       Warnings

263. #### def warnStarsAlign: Boolean

     Definition Classes
       Warnings

264. #### def warnTypeParameterShadow: Boolean

     Definition Classes
       Warnings

265. #### def warnUnsoundMatch: Boolean

     Definition Classes
       Warnings

266. #### val warnUnused: BooleanSetting

     Definition Classes
       Warnings

267. #### val warnUnusedImport: BooleanSetting

     Definition Classes
       Warnings

268. #### val warnValueDiscard: BooleanSetting

     Definition Classes
       Warnings

269. #### val warnValueOverrides: BooleanSetting

     Definition Classes
       Warnings

270. #### def withErrorFn(errorFn: (String) ⇒ Unit): Settings

     Definition Classes
       Settings → MutableSettings

271. #### val writeICode: PhasesSetting

     Definition Classes
       ScalaSettings

272. #### def →[B](y: B): (Settings, B)

     Implicit information
       This member is added by an implicit conversion from Settings to ArrowAssoc[Settings] 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 MutableSettings

### Inherited from Mutable

### Inherited from ScalaSettings

### Inherited from Warnings

### Inherited from StandardScalaSettings

### Inherited from AbsScalaSettings

### Inherited from AbsSettings

### Inherited from MutableSettings

### Inherited from AbsSettings

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from Settings to any2stringadd[Settings]

### Inherited by implicit conversion StringFormat from Settings to StringFormat[Settings]

### Inherited by implicit conversion Ensuring from Settings to Ensuring[Settings]

### Inherited by implicit conversion ArrowAssoc from Settings to ArrowAssoc[Settings]

### Ungrouped