class Tapioca::Dsl::Compilers::ActiveRecordRelations

def create_common_method(name, parameters: [], return_type: nil)

: ((Symbol | String) name, ?parameters: Array[RBI::TypedParam], ?return_type: String?) -> void
def create_common_method(name, parameters: [], return_type: nil)
  common_relation_methods_module.create_method(
    name.to_s,
    parameters: parameters,
    return_type: return_type || "void",
  )
end