scala.annotation

class elidable

[source: scala/annotation/elidable.scala]

final class elidable(val final level : Int)
extends StaticAnnotation
An annotation for methods for which invocations might be removed in the generated code. Behavior is influenced by passing -Xelide-level to scalac. Methods marked elidable will be omitted from generated code if the priority given the annotation is lower than to the command line argument. Examples: import annotation.elidable._ @elidable(WARNING) def foo = log("foo") @elidable(FINE) def bar = log("bar") scalac -Xelide-methods-below=1000
Since
2.8
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf