void (@NotNull PsiClassInitializer initializer, Object... infos) { final PsiCodeBlock body = initializer.getBody(); final PsiJavaToken lBrace = body.getLBrace(); if (lBrace == null) { registerError(initializer, infos); } else { registerError(lBrace, infos); } }