boolean (@NotNull PsiElement element) { IElementType type = PsiUtilCore.getElementType(element); return myElementClassName.equals(element.getClass().getName()) && type != null && myElementTypeId == type.getIndex(); }