Package-level declarations
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This poorly-named function will return the most-qualified name available for a given PsiElement from the snippet of code where it's being called, without looking at imports.
Link copied to clipboard
suspend fun McProject.canResolveDeclaredName(declaredName: QualifiedDeclaredName, sourceSetName: SourceSetName): Boolean
Link copied to clipboard
suspend fun McProject.canResolveReferenceName(declaredName: ReferenceName, sourceSetName: SourceSetName): Boolean
Link copied to clipboard
inline fun PsiElement.childrenBreadthFirst(crossinline predicate: (PsiElement) -> Boolean): Sequence<PsiElement>
Link copied to clipboard
inline fun PsiElement.childrenDepthFirst(crossinline predicate: (PsiElement) -> Boolean): Sequence<PsiElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun PsiElement.declaredNameOrNull(project: McProject, sourceSetName: SourceSetName): QualifiedDeclaredName?
Link copied to clipboard
For a declaration with a name wrapped in backticks, this returns a name with those backticks. The regular fqName
property does not.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Basically the same as name
, but if the name has backticks, this will include it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns any custom names defined by @JvmName(...)
, the default setter/getter names if it's a property, or the same names as used by Kotlin for anything else.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard