Hello to all,
Is it possible to annotate new keyword in Scala?
In Java I imported my own annotation in java/lang and I am able to
annotate new operation just like that (and it work):
String str = new @Cache String(“Hello World”)
Is it possible with Scala too? I tried the following but it did not work:
val str: String = new @Cache String(“Hello World”)