PsiElement () { final PsiJavaToken rBrace = getRBrace(); if (rBrace != null) { final PsiElement prevSibling = rBrace.getPrevSibling(); return prevSibling == getLBrace() ? null : prevSibling; } return getLastChild(); }