18.3.4 优化类扫描