add java support
goole style
add scala support