Package com.intellij.refactoring.rename

Examples of com.intellij.refactoring.rename.RenameProcessor


    super(project, psiElement, nameSuggestionContext, editor);
  }

  @Override
  protected RenameProcessor createRenameProcessor(String newName) {
    return new RenameProcessor(getProject(), getPsiElement(), newName, isSearchInComments(),
                                                          isSearchInNonJavaFiles());
  }
View Full Code Here


    }
  }

  private void processLoggerField(@NotNull PsiField psiField, @NotNull PsiClass psiClass, @NotNull AbstractLogProcessor logProcessor) {
    if (!LOMBOK_LOGGER_NAME.equals(psiField.getName())) {
      RenameProcessor processor = new RenameProcessor(psiField.getProject(), psiField, LOMBOK_LOGGER_NAME, false, false);
      processor.doRun();
    }

    addAnnotation(psiClass, logProcessor.getSupportedAnnotationClass());

    psiField.delete();
View Full Code Here

TOP

Related Classes of com.intellij.refactoring.rename.RenameProcessor

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.