Package de.plushnikov.intellij.plugin.processor.clazz.log

Examples of de.plushnikov.intellij.plugin.processor.clazz.log.LogProcessor


  private static final String LOMBOK_LOGGER_NAME = AbstractLogProcessor.getLoggerName();

  protected void processClass(@NotNull PsiClass psiClass) {
    final Collection<AbstractLogProcessor> logProcessors = Arrays.asList(
        new CommonsLogProcessor(), new Log4jProcessor(), new Log4j2Processor(),
        new LogProcessor(), new Slf4jProcessor(), new XSlf4jProcessor());

    for (AbstractLogProcessor logProcessor : logProcessors) {
      for (PsiField psiField : psiClass.getFields()) {
        if (psiField.getType().equalsToText(logProcessor.getLoggerType()) && checkLoggerField(psiField)) {
          processLoggerField(psiField, psiClass, logProcessor);
View Full Code Here


import de.plushnikov.intellij.plugin.processor.clazz.log.XSlf4jProcessor;

public class DelombokLoggerAction extends BaseDelombokAction {
  public DelombokLoggerAction() {
    super(new BaseDelombokHandler(new CommonsLogProcessor(), new Log4jProcessor(), new Log4j2Processor(),
        new LogProcessor(), new Slf4jProcessor(), new XSlf4jProcessor()));
  }
View Full Code Here

  private static BaseDelombokHandler createHandler() {
    return new BaseDelombokHandler(
        new RequiredArgsConstructorProcessor(), new AllArgsConstructorProcessor(), new NoArgsConstructorProcessor(),
        new DataProcessor(), new GetterProcessor(), new ValueProcessor(), new WitherProcessor(),
        new SetterProcessor(), new EqualsAndHashCodeProcessor(), new ToStringProcessor(),
        new CommonsLogProcessor(), new Log4jProcessor(), new Log4j2Processor(), new LogProcessor(), new Slf4jProcessor(), new XSlf4jProcessor(),
        new GetterFieldProcessor(), new SetterFieldProcessor(), new WitherFieldProcessor(), new DelegateFieldProcessor(),
        new DelegateMethodProcessor()
    );
  }
View Full Code Here

TOP

Related Classes of de.plushnikov.intellij.plugin.processor.clazz.log.LogProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.