Bug 6050 Avoid references to preference pages
Preference pages are optional. It should be possible to add and remove them from the code without further impact on the system. I.e. preference pages should not be used as accessors to preference settings. (See JavaCompletionProcessor)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/WorkInProgressPreferencePage.java
store.setDefault(CODE_ASSIST_EXPERIMENTAL, false);
	}
	
	/**
	 * @see PreferencePage#createControl(Composite)
	 */
	public void createControl(Composite parent) {
		super.createControl(parent);
		WorkbenchHelp.setHelp(getControl(), new DialogPageContextComputer(this, IJavaHelpContextIds.WORK_IN_PROGRESS_PREFERENCE_PAGE));
	}
	
	protected void createFieldEditors() {
		Composite parent= getFieldEditorParent();
		BooleanFieldEditor boolEditor= new BooleanFieldEditor(
			CODE_ASSIST_EXPERIMENTAL,
			JavaUIMessages.getString("WorkInProgressPreferencePage.codeassist.experimental"), 
			parent
        );
		addField(boolEditor);
	}
	public void init(IWorkbench workbench) {
	}	
	
	public static boolean fillArgumentsOnMethodCompletion() {
		IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
		return store.getBoolean(CODE_ASSIST_EXPERIMENTAL);
	}
	
}