Update reference and java documentation. Add issue reference to tests. Align method names and format code. Original Pull Request: #3861
Update reference and java documentation. Add issue reference to tests. Align method names and format code. Original Pull Request: #3861