getIfChildIsInBranch¶ fun <T : PsiElement> T.getIfChildIsInBranch(element: PsiElement, branch: T.() -> PsiElement?): T? Returns this element if element lies within the subtree returned by branch, otherwise null. jvm