def find_trivial_constructor(type_):
assert isinstance(type_, class_declaration.class_t)<EOL>trivial = type_.constructors(<EOL>lambda x: is_trivial_constructor(x),<EOL>recursive=False,<EOL>allow_empty=True)<EOL>if trivial:<EOL><INDENT>return trivial[<NUM_LIT:0>]<EOL><DEDENT>return None<EOL>
Returns reference to trivial constructor.

Args:
    type_ (declarations.class_t): the class to be searched.

Returns:
    declarations.constructor_t: the trivial constructor