PsiElement (PsiElement element) { if (PsiUtil.isJavaToken(element, JavaTokenType.RPARENTH)) { PsiElement prevSibling = element.getPrevSibling(); if (prevSibling != null) { return prevSibling; } } return element; }