private IPreferenceStore createCombinedPreferenceStore(IEditorInput input){
  List stores=new ArrayList();
  addPreferenceStores(stores,input);
  return new ChainedPreferenceStore((IPreferenceStore[])stores.toArray(new IPreferenceStore[stores.size()]));
}

private IPreferenceStore createCombinedPreferenceStore ( IEditorInput input ) { List stores = new ArrayList ( ) ; addPreferenceStores ( stores , input ) ; return new ChainedPreferenceStore ( ( IPreferenceStore [ ] ) stores . toArray ( new IPreferenceStore [ stores . size ( ) ] ) ) ; }
creates and returns the preference store for this java editor with the given input .
