Scala Compiler2.13.0 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package reporters
  Definition Classes
    nsc
-  object Reporter
  Definition Classes
    reporters
- AdaptedReporter
- LimitedReporter
- LimitingReporter

c

scala.tools.nsc.reporters.Reporter

# LimitingReporter

###

#### class LimitingReporter extends AdaptedReporter with FilteringReporter with LimitedReporter

A legacy `Reporter` adapter that respects `-Xmaxerrs` and `-Xmaxwarns`.

Source
  Reporter.scala

Linear Supertypes
LimitedReporter, FilteringReporter, Filtering, AdaptedReporter, ForwardingReporter, Reporter, reflect.internal.Reporter, AnyRef, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. LimitingReporter
2. LimitedReporter
3. FilteringReporter
4. Filtering
5. AdaptedReporter
6. ForwardingReporter
7. Reporter
8. Reporter
9. AnyRef
10. Any

Implicitly

1. by adapt reporter to legacy API
2. by adapt reporter to legacy API
3. by any2stringadd
4. by StringFormat
5. by Ensuring
6. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new LimitingReporter(settings: Settings, delegate0: Reporter)

### Type Members

1.  class Severity extends AnyRef
   Definition Classes
     Reporter

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from LimitingReporter toany2stringadd[LimitingReporter] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (LimitingReporter, B)
   Implicit
     This member is added by an implicit conversion from LimitingReporter toArrowAssoc[LimitingReporter] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  var cancelled: Boolean
   Definition Classes
     Reporter
8.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
9.  def comment(pos: Position, msg: String): Unit
   Definition Classes
     Reporter
10.  def count(severity: Severity): Int
    Definition Classes
      AdaptedReporter → Reporter
11.  val delegate: reflect.internal.Reporter
    Definition Classes
      AdaptedReporter → ForwardingReporter
12.  def echo(pos: Position, msg: String): Unit
    Definition Classes
      FilteringReporter → ForwardingReporter → Reporter
13.  def echo(msg: String): Unit
    Definition Classes
      Reporter
14.  def ensuring(cond: (LimitingReporter) => Boolean, msg: => Any): LimitingReporter
    Implicit
      This member is added by an implicit conversion from LimitingReporter toEnsuring[LimitingReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: (LimitingReporter) => Boolean): LimitingReporter
    Implicit
      This member is added by an implicit conversion from LimitingReporter toEnsuring[LimitingReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: Boolean, msg: => Any): LimitingReporter
    Implicit
      This member is added by an implicit conversion from LimitingReporter toEnsuring[LimitingReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean): LimitingReporter
    Implicit
      This member is added by an implicit conversion from LimitingReporter toEnsuring[LimitingReporter] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
19.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
20.  def error(pos: Position, msg: String): Unit
    Definition Classes
      FilteringReporter → ForwardingReporter → Reporter
21.  def errorCount: Int
    Definition Classes
      AdaptedReporter → Reporter
22.  def filter(pos: Position, msg: String, severity: Severity): Boolean
    Attributes
      protected
    Definition Classes
      LimitingReporter → Filtering
23.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
24.  def finish(): Unit
    Definition Classes
      ForwardingReporter → Reporter
25.  def flush(): Unit
    Definition Classes
      ForwardingReporter → Reporter
26.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from LimitingReporter toStringFormat[LimitingReporter] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
27.  def forward(pos: Position, msg: String, severity: Severity): Unit
    Attributes
      protected
    Definition Classes
      ForwardingReporter
28.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
29.  def hasErrors: Boolean
    Definition Classes
      AdaptedReporter → Reporter → Reporter
30.  def hasWarnings: Boolean
    Definition Classes
      AdaptedReporter → Reporter
31.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
32.  def info0(pos: Position, msg: String, severity: Severity, force: Boolean): Unit
    Attributes
      protected
    Definition Classes
      LimitingReporter → AdaptedReporter → ForwardingReporter → Reporter
33.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
34.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
35.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
36.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
37.  def rerunWithDetails(setting: Setting, name: String): String
    Definition Classes
      Reporter
38.  def reset(): Unit
    Definition Classes
      ForwardingReporter → Reporter
39.  def resetCount(severity: Severity): Unit
    Definition Classes
      AdaptedReporter → Reporter
40.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
41.  def toString(): String
    Definition Classes
      AdaptedReporter → AnyRef → Any
42.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
43.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
44.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()
45.  def warning(pos: Position, msg: String): Unit
    Definition Classes
      FilteringReporter → ForwardingReporter → Reporter
46.  def warningCount: Int
    Definition Classes
      AdaptedReporter → Reporter
47.  object ERROR extends Severity
    Definition Classes
      Reporter
48.  object INFO extends Severity
    Definition Classes
      Reporter
49.  object WARNING extends Severity
    Definition Classes
      Reporter

### Shadowed Implicit Value Members

1.  var cancelled: Boolean
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).cancelled

   Definition Classes
     Reporter
2.  var cancelled: Boolean
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).cancelled

   Definition Classes
     Reporter
3.  def comment(pos: Position, msg: String): Unit
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).comment(pos, msg)

   Definition Classes
     Reporter
4.  def comment(pos: Position, msg: String): Unit
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).comment(pos, msg)

   Definition Classes
     Reporter
5.  def count: ((severity: _1.Severity)Int) forSome {val _1: Reporter}
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).count

   Definition Classes
     Reporter
6.  def count: ((severity: _1.Severity)Int) forSome {val _1: Reporter}
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).count

   Definition Classes
     Reporter
7.  def echo(pos: Position, msg: String): Unit
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).echo(pos, msg)

   Definition Classes
     Reporter
8.  def echo(msg: String): Unit
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).echo(msg)

   Definition Classes
     Reporter
9.  def echo(pos: Position, msg: String): Unit
   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).echo(pos, msg)

   Definition Classes
     Reporter
10.  def echo(msg: String): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).echo(msg)

    Definition Classes
      Reporter
11.  def error(pos: Position, msg: String): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).error(pos, msg)

    Definition Classes
      Reporter
12.  def error(pos: Position, msg: String): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).error(pos, msg)

    Definition Classes
      Reporter
13.  def errorCount: Int
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).errorCount

    Definition Classes
      Reporter
14.  def errorCount: Int
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).errorCount

    Definition Classes
      Reporter
15.  def finish(): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).finish()

    Definition Classes
      Reporter
16.  def finish(): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).finish()

    Definition Classes
      Reporter
17.  def flush(): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).flush()

    Definition Classes
      Reporter
18.  def flush(): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).flush()

    Definition Classes
      Reporter
19.  def hasErrors: Boolean
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).hasErrors

    Definition Classes
      Reporter → Reporter
20.  def hasErrors: Boolean
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).hasErrors

    Definition Classes
      Reporter → Reporter
21.  def hasWarnings: Boolean
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).hasWarnings

    Definition Classes
      Reporter
22.  def hasWarnings: Boolean
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).hasWarnings

    Definition Classes
      Reporter
23.  def rerunWithDetails(setting: Setting, name: String): String
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).rerunWithDetails(setting, name)

    Definition Classes
      Reporter
24.  def rerunWithDetails(setting: Setting, name: String): String
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).rerunWithDetails(setting, name)

    Definition Classes
      Reporter
25.  def reset(): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).reset()

    Definition Classes
      Reporter → Reporter
26.  def reset(): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).reset()

    Definition Classes
      Reporter → Reporter
27.  def resetCount: ((severity: _1.Severity)Unit) forSome {val _1: Reporter}
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).resetCount

    Definition Classes
      Reporter
28.  def resetCount: ((severity: _1.Severity)Unit) forSome {val _1: Reporter}
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).resetCount

    Definition Classes
      Reporter
29.  def warning(pos: Position, msg: String): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).warning(pos, msg)

    Definition Classes
      Reporter
30.  def warning(pos: Position, msg: String): Unit
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).warning(pos, msg)

    Definition Classes
      Reporter
31.  def warningCount: Int
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).warningCount

    Definition Classes
      Reporter
32.  def warningCount: Int
    Implicit
      This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
    Shadowing
      This implicitly inherited member is shadowed by one or more members in this class.
      To access this member you can use a type ascription:

          (limitingReporter: Reporter).warningCount

    Definition Classes
      Reporter

### Deprecated Value Members

1.  final def info(pos: Position, msg: String, force: Boolean): Unit

   Informational messages.

   Informational messages. If `!force`, they may be suppressed.

   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).info(pos, msg, force)

   Definition Classes
     Reporter
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use echo, as internal.Reporter does not support unforced info

2.  final def info(pos: Position, msg: String, force: Boolean): Unit

   Informational messages.

   Informational messages. If `!force`, they may be suppressed.

   Implicit
     This member is added by an implicit conversion from LimitingReporter toReporter performed by method adapt reporter to legacy API in scala.tools.nsc.reporters.Reporter.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (limitingReporter: Reporter).info(pos, msg, force)

   Definition Classes
     Reporter
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use echo, as internal.Reporter does not support unforced info

3.  final def info(pos: Position, msg: String, force: Boolean): Unit

   Informational messages.

   Informational messages. If `!force`, they may be suppressed.

   Definition Classes
     Reporter
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use echo, as internal.Reporter does not support unforced info

4.  def →[B](y: B): (LimitingReporter, B)
   Implicit
     This member is added by an implicit conversion from LimitingReporter toArrowAssoc[LimitingReporter] 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.

### Inherited from LimitedReporter

### Inherited from FilteringReporter

### Inherited from Filtering

### Inherited from AdaptedReporter

### Inherited from ForwardingReporter

### Inherited from Reporter

### Inherited from reflect.internal.Reporter

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion adapt reporter to legacy API fromLimitingReporter to Reporter

### Inherited by implicit conversion any2stringadd fromLimitingReporter to any2stringadd[LimitingReporter]

### Inherited by implicit conversion StringFormat fromLimitingReporter to StringFormat[LimitingReporter]

### Inherited by implicit conversion Ensuring fromLimitingReporter to Ensuring[LimitingReporter]

### Inherited by implicit conversion ArrowAssoc fromLimitingReporter to ArrowAssoc[LimitingReporter]

### Ungrouped