Package org.intellij.erlang.refactoring

Examples of org.intellij.erlang.refactoring.VariableTextBuilder


    introducer.performInplaceRefactoring(new LinkedHashSet<String>());
  }

  @Nullable
  private static PsiElement performElement(Editor editor, @NotNull ErlangExpression expression, @NotNull List<PsiElement> occurrences) {
    VariableTextBuilder builder = new VariableTextBuilder();
    expression.accept(builder);
    String newName = builder.result();
    ErlangExpression initializer = ErlangPsiImplUtil.getNotParenthesizedExpression(expression);
    String newText = initializer != null ? newName + " = " + initializer.getText() : null;
    Project project = expression.getProject();
    if (PsiTreeUtil.hasErrorElements(expression)) {
      showCannotPerformError(project, editor, "Selected expression contains errors");
View Full Code Here

TOP

Related Classes of org.intellij.erlang.refactoring.VariableTextBuilder

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.