Added test for #1568
Fixed #1568 Backend error with Java static method that looks like a setter