You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: active_support_concern.rb
    path of file: ./repos/tapioca/lib/tapioca/dsl/compilers
    
    the code of the file until where you have to start completion: # typed: strict
# frozen_string_literal: true

return unless defined?(ActiveSupport::Concern)

module Tapioca
  
    
          def gather_constants
            # Find all Modules that are:
            all_modules.select do |mod|
              # named (i.e. not anonymous)
              name_of(mod) &&
                # not singleton classes
                !mod.singleton_class? &&
                # extend ActiveSupport::Concern, and
                mod.singleton_class < ActiveSupport::Concern &&
                # have dependencies (i.e. include another concern)
                !dependencies_of(mod).empty?
            end
          end