void (@NotNull PsiResourceVariable resource) { super.visitResourceVariable(resource); if (!hasErrorResults()) add(HighlightUtil.checkTryResourceIsAutoCloseable(resource)); if (!hasErrorResults()) add(HighlightUtil.checkUnhandledCloserExceptions(resource)); }