[FYR] scala to java interface