Adding javadoc.

Signed-off-by: salomao.marcos <salomao.marcos@gmail.com>