Clean up adviceBody, remove inline and fix -s in JavaMOP to use static methods generated by RV-Monitor