Use checkstyle to enforce java style/lint