GrStatement (PsiElement @NotNull [] occurrences, @NotNull PsiElement scope) { PsiElement parent = PsiTreeUtil.findCommonParent(occurrences); PsiElement container = getEnclosingContainer(parent); assert container != null; PsiElement anchor = findAnchor(occurrences, container); assertStatement(anchor, scope); return (GrStatement)anchor; }