Bug 31253 local rename of constructors should rename class too [code manipulation]
20030206 public class A { A(int y){} } select 'A' in the constructor name- local rename does not change class name works the other way round though - select A in class name and local rename will rename the constructor for you
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java
private IBinding fBinding;
		private ArrayList fResult;
		
		public LinkedNodeFinder(IBinding binding, ArrayList result) {
			fBinding= binding;
			fResult= result;
		}
		
		public boolean visit(MethodDeclaration node) {
			if (node.isConstructor() && fBinding.getKind() == IBinding.TYPE) {
				ASTNode typeNode= node.getParent();
				if (typeNode instanceof TypeDeclaration) {
					if (fBinding == ((TypeDeclaration) typeNode).resolveBinding()) {
						fResult.add(node.getName());
					}
				}
			}
			return true;
		}
		
		public boolean visit(SimpleName node) {
			if (fBinding == node.resolveBinding()) {
				fResult.add(node);
			}
			return false;
		}
	}
	public LinkedNamesAssistProposal(SimpleName node) {
		fNode= node;
	}