refactor, suppresswarning, javadoc

Signed-off-by: fei <1450622282@qq.com>