Bug 17383 create getter/setter - no explicit hint if getter/setter already exist
Create getter/setter seems to know which getter/setters exist already. However, there's no explicit way to show this. I can figure out by selecting the type (only not existing getter/setter are shown). If I select a field, I see all the setter/getter of the type and I loose the information which setter and getter exist already.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
public final IField field;
		public final boolean isGetterEntry;
		GetterSetterEntry(IField field, boolean isGetterEntry){
			this.field= field;
			this.isGetterEntry= isGetterEntry;
		}
	}
	
	private static class AddGetterSetterLabelProvider extends JavaElementLabelProvider{
		private final NameProposer fNameProposer;
		private static final Image IMAGE= new JavaElementImageProvider().getImageLabel(new JavaElementImageDescriptor(JavaPluginImages.DESC_MISC_PUBLIC, 0, JavaElementImageProvider.BIG_SIZE));
		
		AddGetterSetterLabelProvider(NameProposer nameProposer){
			fNameProposer= nameProposer;
		}
		/*
		 * @see ILabelProvider#getText(Object)
		 */
		public String getText(Object element) {
			try {
				if (! (element instanceof GetterSetterEntry))
					return super.getText(element);
				GetterSetterEntry entry= (GetterSetterEntry)element;
				if (entry.isGetterEntry)
					return fNameProposer.proposeGetterSignature(entry.field);
				else
					return fNameProposer.proposeSetterSignature(entry.field);