package test; @getter class My { @getter int foo() { return 1; } }