void (@NotNull PsiClassInitializer initializer) { super.visitClassInitializer(initializer); if (!hasErrorResults()) add(HighlightClassUtil.checkUnnamedClassMember(initializer, myLanguageLevel, myFile)); if (!hasErrorResults()) add(HighlightClassUtil.checkIllegalInstanceMemberInRecord(initializer)); if (!hasErrorResults()) add(HighlightControlFlowUtil.checkInitializerCompleteNormally(initializer)); if (!hasErrorResults()) add(HighlightControlFlowUtil.checkUnreachableStatement(initializer.getBody())); if (!hasErrorResults()) { add(HighlightClassUtil.checkThingNotAllowedInInterface(initializer, initializer.getContainingClass())); } if (!hasErrorResults()) add(HighlightUnnamedClassUtil.checkInitializersInUnnamedClass(initializer)); }