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
Collection list= new ArrayList(0);
		for (int i = 0; i < result.length; i++) {
			Object each= result[i];
			if ((each instanceof GetterSetterEntry)){ 
				GetterSetterEntry entry= (GetterSetterEntry)each;
				if (! entry.isGetterEntry)
					list.add(entry.field);
			}	
		}
		return (IField[]) list.toArray(new IField[list.size()]);			
	}
	
	private static NameProposer createNameProposer(){
		return new NameProposer(getGetterSetterPrefixes(), getGetterSetterSuffixes());
	}
	
	private static String[] getGetterSetterPrefixes(){
		return CodeGenerationPreferencePage.getGetterStetterPrefixes();
	}
	
	private static String[] getGetterSetterSuffixes(){
		return CodeGenerationPreferencePage.getGetterStetterSuffixes();
	}
	
	private void generate(IField[] getterFields, IField[] setterFields) throws CoreException{
		if (getterFields.length == 0 && setterFields.length == 0)
			return;
		
		ICompilationUnit cu= null;
		if (getterFields.length != 0)