1c0c01725b
We would like DeclarationDescriptor.getOriginal() to always point to a (preferably unique) unsubstituted descriptors for the given possibly substituted descriptor. In case of LazySubstitutingClassDescriptor (which can be observed for nested generic Java classes), this invariant was broken, because 'getOriginal()' for constructors of substituted class returned a copy created for this particular substituted class.