WrappedProperties

dotty.tools.dotc.config.WrappedProperties
See theWrappedProperties companion object

For placing a wrapper function around property functions. Motivated by places like google app engine throwing exceptions on property lookups.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AccessControl

Members list

Value members

Abstract methods

def wrap[T](body: => T): Option[T]

Concrete methods

override def clearProp(name: String): String

Attributes

Definition Classes
override def envOrElse(name: String, alt: String): String

Attributes

Definition Classes
override def envOrNone(name: String): Option[String]

Attributes

Definition Classes
override def propIsSet(name: String): Boolean

Attributes

Definition Classes
override def propOrElse(name: String, alt: String): String

Attributes

Definition Classes
override def setProp(name: String, value: String): String

Attributes

Definition Classes

Inherited methods

This is the default text encoding, overridden (unreliably) with JAVA_OPTS="-Dfile.encoding=Foo"

This is the default text encoding, overridden (unreliably) with JAVA_OPTS="-Dfile.encoding=Foo"

Attributes

Inherited from:
PropertiesTrait
def isMac: Boolean

Attributes

Inherited from:
PropertiesTrait
def isWin: Boolean

Some derived values.

Some derived values.

Attributes

Inherited from:
PropertiesTrait

Various well-known properties.

Various well-known properties.

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

The default end of line character.

The default end of line character.

Attributes

Inherited from:
PropertiesTrait
def osName: String

Attributes

Inherited from:
PropertiesTrait
def propIsSetTo(name: String, value: String): Boolean

Attributes

Inherited from:
PropertiesTrait
def propOrEmpty(name: String): String

Attributes

Inherited from:
PropertiesTrait
def propOrFalse(name: String): Boolean

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait
def propOrNull(name: String): String

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait
def scalaPropOrElse(name: String, alt: String): String

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

This is the encoding to use reading in source files, overridden with -encoding Note that it uses "prop" i.e. looks in the scala jar, not the system properties.

This is the encoding to use reading in source files, overridden with -encoding Note that it uses "prop" i.e. looks in the scala jar, not the system properties.

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait
def tmpDir: String

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Attributes

Inherited from:
PropertiesTrait

Either the development or release version if known, otherwise the empty string.

Either the development or release version if known, otherwise the empty string.

Attributes

Inherited from:
PropertiesTrait

Inherited fields

Attributes

Inherited from:
PropertiesTrait

Whether the current version of compiler is experimental

Whether the current version of compiler is experimental

  1. Snapshot, nightly releases and non-bootstrapped compiler are experimental.
  2. Features supported by experimental versions of the compiler:
    • research plugins

Attributes

Inherited from:
PropertiesTrait
protected val propFilename: String

The name of the properties file

The name of the properties file

Attributes

Inherited from:
PropertiesTrait
lazy protected val scalaProps: Properties

The loaded properties

The loaded properties

Attributes

Inherited from:
PropertiesTrait

The version number of the jar this was loaded from, or "(unknown)" if it cannot be determined.

The version number of the jar this was loaded from, or "(unknown)" if it cannot be determined.

Attributes

Inherited from:
PropertiesTrait

The version number of the jar this was loaded from plus "version " prefix, or "version (unknown)" if it cannot be determined.

The version number of the jar this was loaded from plus "version " prefix, or "version (unknown)" if it cannot be determined.

Attributes

Inherited from:
PropertiesTrait