Package akka.util
Class unused
- java.lang.Object
-
- scala.annotation.Annotation
-
- scala.deprecated
-
- akka.util.unused
-
- All Implemented Interfaces:
scala.annotation.StaticAnnotation
public class unused extends scala.deprecated
Marker for explicit or implicit parameter known to be unused, yet still necessary from a binary compatibility perspective or other reason. Useful in combination with-Ywarn-unused:explicits,implicits
compiler options.Extends 'deprecated' to make sure using a parameter marked @unused produces a warning, and not using a parameter marked @unused does not produce an 'unused parameter' warning.
This approach is deprecated in Scala 2.13 and scheduled to be removed in 2.14. Perhaps we should promote introducing an
@unused
to Scala? https://contributors.scala-lang.org/t/more-error-reporting-annotations/1681/7INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description unused()
-