protected void renameNode(TextChange tfc, Node node, Tree.CompilationUnit root) { Node identifyingNode = getIdentifier(node); tfc.addEdit( new ReplaceEdit(identifyingNode.getStartIndex(), identifyingNode.getDistance(), newName)); }
@Override public IRegion getHyperlinkRegion() { return new Region(id.getStartIndex(), id.getDistance()); }