Examples of RenameModifications


Examples of org.eclipse.dltk.internal.corext.refactoring.rename.RenameModifications

  }

  @Override
  protected RenameModifications computeRenameModifications()
      throws CoreException {
    RenameModifications result = new RenameModifications();
    if (modelElement instanceof ILocalVariable) {
      result.rename((ILocalVariable)modelElement, new RenameArguments(getNewElementName(), getUpdateReferences()));
    } else if (modelElement instanceof IField) {
      // TODO: add switching method in RenameModifications
      result.rename((IField)modelElement, new RenameArguments(getNewElementName(), getUpdateReferences()));
    }

    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.