class ForwardingReporter extends FilteringReporter
A FilteringReporter that delegates to another FilteringReporter. This class can be used to customize error reporting.
val myReporter = new ForwardingReporter(global.reporter) { override def doReport(pos: Position, msg: String, severity: Severity): Unit = { ... } } global.reporter = myReporter
- Source
- ForwardingReporter.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ForwardingReporter
- FilteringReporter
- Reporter
- Reporter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ForwardingReporter(delegate: FilteringReporter)
Type Members
- final type Severity = reflect.internal.Reporter.Severity
- Definition Classes
- Reporter
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 ForwardingReporter toany2stringadd[ForwardingReporter] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ForwardingReporter, B)
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toArrowAssoc[ForwardingReporter] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ERROR: Severity
- Definition Classes
- Reporter
- Annotations
- @uncheckedStable()
- final def INFO: Severity
- Definition Classes
- Reporter
- Annotations
- @uncheckedStable()
- final def WARNING: Severity
- Definition Classes
- Reporter
- Annotations
- @uncheckedStable()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cancelled: Boolean
- Definition Classes
- ForwardingReporter → Reporter
- def cancelled_=(b: Boolean): Unit
- Definition Classes
- ForwardingReporter → Reporter
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def comment(pos: Position, msg: String): Unit
- Definition Classes
- ForwardingReporter → Reporter
- def doReport(pos: Position, msg: String, severity: Severity): Unit
- Definition Classes
- ForwardingReporter → FilteringReporter
- final def echo(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- final def echo(msg: String): Unit
- Definition Classes
- Reporter
- def ensuring(cond: (ForwardingReporter) => Boolean, msg: => Any): ForwardingReporter
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toEnsuring[ForwardingReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ForwardingReporter) => Boolean): ForwardingReporter
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toEnsuring[ForwardingReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ForwardingReporter
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toEnsuring[ForwardingReporter] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ForwardingReporter
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toEnsuring[ForwardingReporter] 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
- final def error(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def errorCount: Int
- Definition Classes
- ForwardingReporter → Reporter
- def filter(pos: Position, msg: String, severity: Severity): Int
- Definition Classes
- ForwardingReporter → FilteringReporter → Reporter
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def finish(): Unit
- Definition Classes
- ForwardingReporter → Reporter
- def flush(): Unit
- Definition Classes
- ForwardingReporter → Reporter
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toStringFormat[ForwardingReporter] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasErrors: Boolean
- Definition Classes
- ForwardingReporter → Reporter → Reporter
- def hasWarnings: Boolean
- Definition Classes
- ForwardingReporter → Reporter
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def increment(severity: Severity): Unit
- Definition Classes
- ForwardingReporter → Reporter
- def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
- Attributes
- protected
- Definition Classes
- FilteringReporter → Reporter
- Annotations
- @deprecatedOverriding("override doReport instead", "2.13.1")
- 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 rerunWithDetails(setting: Setting, name: String): String
- Definition Classes
- ForwardingReporter → Reporter
- def reset(): Unit
- Definition Classes
- ForwardingReporter → FilteringReporter → Reporter → Reporter
- def settings: Settings
- Definition Classes
- ForwardingReporter → FilteringReporter
- 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()
- final def warning(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def warningCount: Int
- Definition Classes
- ForwardingReporter → Reporter
Deprecated Value Members
- final def info(pos: Position, msg: String, force: Boolean): Unit
- Definition Classes
- Reporter
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use echo, as internal.Reporter does not support unforced info
- def →[B](y: B): (ForwardingReporter, B)
- Implicit
- This member is added by an implicit conversion from ForwardingReporter toArrowAssoc[ForwardingReporter] 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.