Object[] elements= result.getElements(); for (int i = 0; i < elements.length; i++) { insert(elements[i], false);
if (result != null) { Object[] elements= result.getElements(); for (int i= 0; i < elements.length; i++) { insert(elements[i], false); }
	protected void initialize(JavaSearchResult result) {		super.initialize(result);		fChildrenMap= new HashMap();		Object[] elements= result.getElements();		for (int i = 0; i < elements.length; i++) {			insert(elements[i], false);		}	}