Fix checkstyle warnings of "Type AbstractAfterVisibility"