Bug 38500 getters/setters: very confused by interface fields
20030604 strange things happen when you start generating getters/setters for interface fields: - dialog says you can make them 'private/protected/default' which is incorrect for interface methods (default makes some sense but the others do not) - even if you say 'private' it still generates 'public' - all interface methods are always 'abstract' so 'final' makes no sense - it will never compile -'synchronized' makes no sense either -nor does 'native'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
cu= fld.getCompilationUnit();
						if (cu == null) {
							return null;
						}
					} else if (!cu.equals(fld.getCompilationUnit())) {
						
						return null;
					}
					try {
						if (fld.getDeclaringType().isInterface()) {
							
							return null;
						}
					} catch (JavaModelException e) {
						JavaPlugin.log(e);
						return null;
					}
					
					res[i]= fld;
				} else {
					return null;
				}
			}
			return res;
		}
		return null;
	}
	
	private static class AddGetterSetterLabelProvider extends JavaElementLabelProvider {