Package akka.util

Class unused

  • All Implemented Interfaces:

    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?


    • Constructor Summary

      Constructor Description
    • Method Summary

      • Methods inherited from class scala.deprecated

        $lessinit$greater$default$1, $lessinit$greater$default$2
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • unused

        public unused()