abstract class Reporter extends reflect.internal.Reporter
Report information, warnings and errors.
This describes the internal interface for issuing information, warnings and errors. The only abstract method in this class must be info0.
TODO: Move external clients (sbt/ide/partest) to reflect.internal.Reporter, and remove this class.
- Source
- Reporter.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Reporter
- Reporter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Reporter()
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Reporter, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
ERROR: Severity
- Definition Classes
- Reporter → Reporter
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var cancelled: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def comment(pos: Position, msg: String): Unit
-
def
count(severity: Severity): Int
- Definition Classes
- Reporter → Reporter
-
def
echo(msg: String): Unit
For sending a message which should not be labelled as a warning/error, but also shouldn't require -verbose to be visible.
-
def
echo(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
- def ensuring(cond: (Reporter) ⇒ Boolean, msg: ⇒ Any): Reporter
- def ensuring(cond: (Reporter) ⇒ Boolean): Reporter
- def ensuring(cond: Boolean, msg: ⇒ Any): Reporter
- def ensuring(cond: Boolean): Reporter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
-
def
errorCount: Int
- Definition Classes
- Reporter
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
finish(): Unit
- Definition Classes
- Reporter
-
def
flush(): Unit
- Definition Classes
- Reporter
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasErrors: Boolean
- Definition Classes
- Reporter → Reporter
-
def
hasWarnings: Boolean
- Definition Classes
- Reporter
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
info(pos: Position, msg: String, force: Boolean): Unit
Informational messages.
Informational messages. If
!force
, they may be suppressed. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
rerunWithDetails(setting: Setting, name: String): String
- Definition Classes
- Reporter
-
def
reset(): Unit
- Definition Classes
- Reporter → Reporter
-
def
resetCount(severity: Severity): Unit
- Definition Classes
- Reporter → Reporter
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warning(pos: Position, msg: String): Unit
- Definition Classes
- Reporter
-
def
warningCount: Int
- Definition Classes
- Reporter
- def →[B](y: B): (Reporter, B)
-
object
INFO
extends Severity
- Definition Classes
- Reporter → Reporter
-
object
WARNING
extends Severity
- Definition Classes
- Reporter → Reporter
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: