add JavaDoc

Signed-off-by: Aaron Chiu <aaronechiu@fb.com>