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
} catch (JavaModelException e) {
				return ""; 
			}
		}
		/*
		 * @see ILabelProvider#getImage(Object)
		 */
		public Image getImage(Object element) {
			if (element instanceof GetterSetterEntry)
				return IMAGE;	
			return super.getImage(element);
		}
	}
	
	private static class AddGetterSetterContentProvider implements ITreeContentProvider{
		private static final Object[] EMPTY= new Object[0];
		private Map fGetterSetterEntries;
		public AddGetterSetterContentProvider(IType type, boolean filterExistingMethods) throws JavaModelException {
			IField[] fields= type.getFields();
			fGetterSetterEntries= new HashMap();
			String[] prefixes= AddGetterSetterAction.getGetterSetterPrefixes();
			String[] suffixes= AddGetterSetterAction.getGetterSetterSuffixes();
			for (int i= 0; i < fields.length; i++) {
				List l= new ArrayList(2);
				if ((! filterExistingMethods) || GetterSetterUtil.getGetter(fields[i], prefixes, suffixes) == null)
					l.add(new GetterSetterEntry(fields[i], true));
					
				if ((! filterExistingMethods) || GetterSetterUtil.getSetter(fields[i], prefixes, suffixes) == null)
					l.add(new GetterSetterEntry(fields[i], false));	
				if (! l.isEmpty())