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()) fGetterSetterEntries.put(fields[i], (GetterSetterEntry[]) l.toArray(new GetterSetterEntry[l.size()])); }
public AddGetterSetterContentProvider(Map entries) throws JavaModelException { fGetterSetterEntries= entries;
		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())					fGetterSetterEntries.put(fields[i], (GetterSetterEntry[]) l.toArray(new GetterSetterEntry[l.size()]));			}		}