class OutputDirs extends AnyRef
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.
- Source
- MutableSettings.scala
- Alphabetic
- By Inheritance
- OutputDirs
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OutputDirs()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from OutputDirs toany2stringadd[OutputDirs] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (OutputDirs, B)
- Implicit
- This member is added by an implicit conversion from OutputDirs toArrowAssoc[OutputDirs] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(src: AbstractFile, dst: AbstractFile): Unit
- def add(srcDir: String, outDir: String): Unit
Add a destination directory for sources found under
srcDir
.Add a destination directory for sources found under
srcDir
. Both directories should exist. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (OutputDirs) => Boolean, msg: => Any): OutputDirs
- Implicit
- This member is added by an implicit conversion from OutputDirs toEnsuring[OutputDirs] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (OutputDirs) => Boolean): OutputDirs
- Implicit
- This member is added by an implicit conversion from OutputDirs toEnsuring[OutputDirs] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): OutputDirs
- Implicit
- This member is added by an implicit conversion from OutputDirs toEnsuring[OutputDirs] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): OutputDirs
- Implicit
- This member is added by an implicit conversion from OutputDirs toEnsuring[OutputDirs] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from OutputDirs toStringFormat[OutputDirs] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSingleOutput: Option[AbstractFile]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def outputDirFor(src: AbstractFile): AbstractFile
Return the output directory for the given file.
- def outputs: List[(AbstractFile, AbstractFile)]
Return the list of source-destination directory pairs.
- def setSingleOutput(dir: AbstractFile): Unit
Set the single output directory.
Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.
- def setSingleOutput(outDir: String): Unit
Set the single output directory.
Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.
- def srcFilesFor(classFile: AbstractFile, srcPath: String): List[AbstractFile]
Return the source file path(s) which correspond to the given classfile path and SourceFile attribute value, subject to the condition that source files are arranged in the filesystem according to Java package layout conventions.
Return the source file path(s) which correspond to the given classfile path and SourceFile attribute value, subject to the condition that source files are arranged in the filesystem according to Java package layout conventions.
The given classfile path must be contained in at least one of the specified output directories. If it does not then this method returns Nil.
Note that the source file is not required to exist, so assuming a valid classfile path this method will always return a list containing at least one element.
Also that if two or more source path elements target the same output directory there will be two or more candidate source file paths.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (OutputDirs, B)
- Implicit
- This member is added by an implicit conversion from OutputDirs toArrowAssoc[OutputDirs] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.