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