void (@NotNull PsiClass psiClass) { LombokProcessorManager manager = LombokProcessorManager.getInstance(); final Collection<AbstractLogProcessor> logProcessors = Arrays.asList( manager.getCommonsLogProcessor(), manager.getJBossLogProcessor(), manager.getLog4jProcessor(), manager.getLog4j2Processor(), manager.getLogProcessor(), manager.getSlf4jProcessor(), manager.getXSlf4jProcessor(), manager.getFloggerProcessor(), manager.getCustomLogProcessor()); final String lombokLoggerName = AbstractLogProcessor.getLoggerName(psiClass); final boolean lombokLoggerIsStatic = AbstractLogProcessor.isLoggerStatic(psiClass); for (AbstractLogProcessor logProcessor : logProcessors) { String loggerType = logProcessor.getLoggerType(psiClass); // null when the custom log's declaration is invalid if (loggerType == null) { continue; } for (PsiField psiField : psiClass.getFields()) { if (psiField.getType().equalsToText(loggerType) && checkLoggerField(psiField, lombokLoggerName, lombokLoggerIsStatic)) { processLoggerField(psiField, psiClass, logProcessor, lombokLoggerName); } } } }