func (t *ScopeInfo) ReturnedTypeRef(tg *typegraph.TypeGraph) typegraph.TypeReference { if t.GetReturnedType() == "" { return tg.VoidTypeReference() } return tg.DeserializieTypeRef(t.GetReturnedType()) }