[misc] Improved JavaDoc, applied codestyle