module Tapioca::Runtime::Trackers::ConstantDefinition

def build_constant_location(tp, locations)

def build_constant_location(tp, locations)
  file = resolve_loc(locations)
  lineno = File.identical?(file, tp.path) ? tp.lineno : 0
  ConstantLocation.new(path: file, lineno: lineno)
end

def disable!

def disable!
  @class_tracepoint.disable
  @creturn_tracepoint.disable
  super
end

def files_for(klass)

or where metaprogramming was used via +eval+, etc.
about situations where the class was opened prior to +require+ing,
Returns the files in which this class or module was opened. Doesn't know
def files_for(klass)
  locations_for(klass).map(&:path).to_set
end

def locations_for(klass)

def locations_for(klass)
  @class_files.fetch(klass, Set.new)
end