List<TextRange> (@Nullable PsiElement markerPsiElement) { if (markerPsiElement == null) { return Collections.emptyList(); } for (CodeBlockSupportHandler handler : EP.allForLanguage(markerPsiElement.getLanguage())) { List<TextRange> rangesToHighlight = handler.getCodeBlockMarkerRanges(markerPsiElement); if (!rangesToHighlight.isEmpty()) { return rangesToHighlight; } } return Collections.emptyList(); }