def calculate_scala_record_genfiles(namespace, source):
  basepath = namespace.replace('.', '/')
  name = os.path.splitext(os.path.basename(source))[0]
  return [os.path.join(basepath, name)]
Initializes a new instance of the specified message type.
dataset/ETHPy150Open pantsbuild/pants/contrib/spindle/src/python/pants/contrib/spindle/tasks/spindle_gen.py/calculate_scala_record_genfiles--crossover with--dataset/ETHPy150Open eigenein/protobuf/protobuf.py/Message.__init__