code: @Override
    public Void visitCompilationUnit(CompilationUnitTree unit, Void unused) {
      scan(unit.getImports(), null);
      scan(unit.getPackageAnnotations(), null);
      scan(unit.getTypeDecls(), null);
      return null;
    }
docs: TreeScanner methods.