Class Summary | |
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
|
final class
|
switch
extends StaticAnnotation
|
final class
|
tailrec
extends StaticAnnotation
|
Object Summary | |
object
|
elidable
extends AnyRef
This useless appearing code was necessary to allow people to use
named constants for the elidable annotation. This is what it takes
to convince the compiler to fold the constants: otherwise when it's
time to check an elision level it's staring at a tree like
(Select(Level, Select(FINEST, Apply(intValue, Nil))))
instead of the number 300.
|