Hi! I've create kotlin compiler plugin and register my SyntheticResolveExtension. Now I want to generate synthetic class in package. For that case I overrides generateSyntheticClasses and in my implementation I want to add to result SyntheticClassOrObjectDescriptor. To construct it among other arguments I need to specify not null arguments parentClassOrObject and outerScope. But I don't know how to get them from PackageFragment context. May be someone can help me or share some examples?
P.S. My synthetic class doe not have parent class. And outer scope for it need to be package fragment.