Package-level declarations
Types
This marks any code reference that can be annotated, such as a ClassReference or MemberFunctionReference.
Used to create a common type between KtAnnotationEntry class references and AnnotationDescriptor references, to streamline parsing.
Used to create a common type between KtClassOrObject class references and ClassDescriptor references, to streamline parsing.
Used to create a common type between KtNamedFunction class references and FunctionDescriptor references, to streamline parsing.
Functions
This will return all super types as ClassReference, whether they're parsed as KtClassOrObject or ClassDescriptor. This will include generated code, assuming it has already been generated. The returned sequence will be distinct by FqName, and Psi types are preferred over Descriptors.
Attempts to find the KtClassOrObject for the FqName first, then falls back to the ClassDescriptor if the Psi element cannot be found. This will happen if the class for FqName is not part of this compilation unit.