blob: a0806919e0c732fcfe8080e06b5135caac5bebb5 (
plain) (
tree)
|
|
package my.webapp.bean.stuff;
import scala.reflect.BeanProperty
class MyBean {
[BeanProperty]
var frombulizer: String = _;
}
object Test extends Application {
val x = new MyBean;
x.frombulizer = "hello"
x.setFrombulizer ("hola") // synthetic methods comes too late for typechecking this code
val z:String = x.frombulizer
val zz:String = x.getFrombulizer // synthetic methods comes too late for typechecking this code
}
|