RefinerMatchResult (@NotNull PsiElement current) { PsiElement newException = findNewException(current); if (newException != null) return RefinerMatchResult.of(newException); if (current instanceof PsiKeyword && current.textMatches(PsiKeyword.THROW)) { PsiElement nextLeaf = PsiTreeUtil.nextVisibleLeaf(current); newException = findNewException(nextLeaf); if (newException != null) return onTheSameLineFor(current, newException, true); } return myInfo.matchSpecificExceptionElement(current); }