org.jetbrains.kotlin.analysis.api.platform.utils¶
Types¶
SublistMerger¶
class SublistMerger<A : Any>(initialElements: List<A>, val destination: MutableList<A>)
With each call to merge, SublistMerger can merge all elements of a specific (reified) type into a single element using a supplied constructor and then add it to destination. Unmerged elements are added to destination using finish.
Properties¶
KOTLIN_JAVA_ELEMENT_FINDER_CLASS_NAME¶
const val KOTLIN_JAVA_ELEMENT_FINDER_CLASS_NAME: String
Functions¶
forEachNonKotlinPsiElementFinder¶
inline fun forEachNonKotlinPsiElementFinder(project: Project, action: (PsiElementFinder) -> Unit)
mergeInto¶
fun <A : Any> List<A>.mergeInto(destination: MutableList<A>, f: SublistMerger<A>.() -> Unit)