#generateCode without selector