void (@Nullable PsiElement element, @NotNull @InspectionMessage String message, LocalQuickFix @NotNull ... quickFixes) { if (element == null || element.getTextLength() == 0) { return; } if (myHolder != null) { myHolder.registerProblem(element, message, quickFixes); } }