void (@NotNull PsiResourceExpression resource) { super.visitResourceExpression(resource); if (!hasErrorResults()) add(checkFeature(resource, HighlightingFeature.REFS_AS_RESOURCE)); if (!hasErrorResults()) add(HighlightUtil.checkResourceVariableIsFinal(resource)); if (!hasErrorResults()) add(HighlightUtil.checkTryResourceIsAutoCloseable(resource)); if (!hasErrorResults()) add(HighlightUtil.checkUnhandledCloserExceptions(resource)); }