DocStringFormat (@NotNull String text, @Nullable PsiElement anchor) { final DocStringFormat guessed = guessDocStringFormat(text); return guessed == DocStringFormat.PLAIN && anchor != null ? getConfiguredDocStringFormatOrPlain(anchor) : guessed; }