do not import code generator part if type check only