[ja] Follow bc3be19a, add afterValidate, code layout change.
Merge pull request #1023 from suzuki/feature/ja-follow-bc3be19a-and-others

[ja] Follow bc3be19a, add afterValidate, code layout change.