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