Add 1 more Java method with known side effects