boolean (@NotNull PsiType targetType, @NotNull PsiClass fromClass, @NotNull BiConsumer<? super String, ? super Validator.ValidationHost.ErrorType> messageConsumer) { messageConsumer.accept( JavaFXBundle.message("unable.to.coerce.error", HighlightUtil.formatClass(fromClass), targetType.getCanonicalText()), Validator.ValidationHost.ErrorType.ERROR); return false; }