TargetPresentation (@NotNull PsiElement element) { //noinspection unchecked return targetPresentation( (T)element, myRenderingInfo, this::getNavigationItemAttributes, this::getItemLocation, this::getErrorAttributes ); }