protected void addEntry(SimpleAutoCompleteEntry entry) { 
		if(mClassRestrictions != null) { 
			Class<?> thisEntryClass = entry.getInstanceClass();
			for(Class<?> restriction : mClassRestrictions) {
				if(restriction.isAssignableFrom(thisEntryClass)) { 
					mAllEntries.add(entry);
					break;
				}
			}
		} else { 
			mAllEntries.add(entry);	
		}
	}