TextRange (@NotNull PsiElement container) { TextRange textRange = getPossibleDeclarationAtRange(container); assert textRange != null : "Declaration range is invalid for " + container.getClass(); return textRange; }