Package org.eclipse.dltk.internal.corext.refactoring.rename

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

Related Classes of org.eclipse.dltk.internal.corext.refactoring.rename.RenameModifications

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.