this only adds resolution for the types. for the actual metadata, such as e.g parameters, that isn't available, so codegen isn't helped by this.