[FE 1.0] Resolve setters through the new type inference infra
^KT-48961 In progress
This commit is contained in:
committed by
teamcity
parent
a74c221729
commit
6e191147b9
@@ -95,6 +95,7 @@ fun PsiElement.nextLeaf(filter: (PsiElement) -> Boolean): PsiElement? {
|
||||
return leaf
|
||||
}
|
||||
|
||||
@SafeVarargs
|
||||
fun <T : PsiElement> PsiElement.getParentOfTypes(strict: Boolean = false, vararg parentClasses: Class<out T>): T? {
|
||||
return getParentOfTypesAndPredicate(strict, *parentClasses) { true }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user