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