Declaration Descriptor
Functions
Properties
containingDeclaration
Link copied to clipboard
containingPackage
Link copied to clipboard
fqNameSafe
Link copied to clipboard
hasDoNotLookAtArgumentsAnnotation
Link copied to clipboard
hasPackageWithLawsAnnotation
Link copied to clipboard
hasPreOrPostAnnotation
Link copied to clipboard
packageWithLawsAnnotation
Link copied to clipboard
Inheritors
CallableDescriptor
Link copied to clipboard
ClassDescriptor
Link copied to clipboard
DeclarationDescriptorWithVisibility
Link copied to clipboard
MemberDescriptor
Link copied to clipboard
ModuleDescriptor
Link copied to clipboard
PackageFragmentDescriptor
Link copied to clipboard
PackageViewDescriptor
Link copied to clipboard
Extensions
gather
Link copied to clipboard
fun DeclarationDescriptor.gather(predicate: (DeclarationDescriptor) -> Boolean): List<DeclarationDescriptor>
Content copied to clipboard
Gather all descriptors which satisfy a predicate, going inside every element recursively.
is ALaw
Link copied to clipboard
returns true if we have declared something with a @Law or lives inside an object that inherits Laws
is Compatible With
Link copied to clipboard
fun DeclarationDescriptor.isCompatibleWith(other: DeclarationDescriptor): Boolean
Content copied to clipboard
check if a descriptor is compatible with other, in the sense that they refer to a function with the same signature
is Field
Link copied to clipboard
should we treat a node as a field and create 'field(name, x)'?
is Loosely Compatible With
Link copied to clipboard
fun DeclarationDescriptor.isLooselyCompatibleWith(other: DeclarationDescriptor): Boolean
Content copied to clipboard
check if a descriptor is compatible with other, in the sense that the arguments are (possibly) supertypes
overridden Descriptors
Link copied to clipboard
fun DeclarationDescriptor.overriddenDescriptors(): Collection<DeclarationDescriptor>?
Content copied to clipboard
Obtain the descriptors which have been overridden by a declaration, if they exist
with Alias Unwrapped
Link copied to clipboard
Removes the indirection from type aliases in a descriptor.