[Misc] Add missing javadoc + fix method name that triggers error in quality checks (confused with a test method).