void () { configure(); PsiNewExpression nestedConstructor = PsiTreeUtil.getParentOfType(getFile().findElementAt(getEditor().getCaretModel().getOffset()), PsiNewExpression.class); assertNotNull(nestedConstructor.resolveConstructor()); }