Revert "BS-10439 : Java methods"

This reverts commit 3c5b4c1d29717471d7d74c044e88897b73f8a578.