class Sorbet::Private::ConstantLookupCache
def initialize
def initialize @all_constants = {} dfs_module(Object, nil, @all_constants, nil) Sorbet::Private::Status.done @consts_by_name = {} @all_constants.each_value do |struct| fill_primary_name(struct) @consts_by_name[struct.primary_name] = struct.const end end