Bug 126915 Cleanup - Random serial version ID?
'Add serial version ID' has options 'Generated' and 'Random'. Is the random really just any random number? What would be the use case for this? AFAIK, the options of the quick fix are: - Default (1L) - Generated (only useful if serialized objects already exist) I would use labels with the descriptions above to help the user decide which one is appropriate for his use case.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/PotentialProgrammingProblemsCleanUp.java
return options;
	}
	/**
	 * {@inheritDoc}
	 */
	public Control createConfigurationControl(Composite parent, IJavaProject project) {
		Button button= new Button(parent, SWT.CHECK);
		button.setText(MultiFixMessages.PotentialProgrammingProblemsCleanUp_AddSerialId_section_name);
		button.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));
		
		int[] flags= new int[] {ADD_CALCULATED_SERIAL_VERSION_ID, ADD_RANDOM_SERIAL_VERSION_ID};		
		final int[] uiFlags= new int[] {1073741824, 536870912};
		String[] labels= new String[] {MultiFixMessages.PotentialProgrammingProblemsCleanUp_Generated_radioButton_name, MultiFixMessages.PotentialProgrammingProblemsCleanUp_Random_radioButton_name};
		createSubGroup(parent, button, SWT.RADIO, flags, labels, uiFlags, false);
		return parent;
	}
	public void saveSettings(IDialogSettings settings) {
		super.saveSettings(getSection(settings, SECTION_NAME));
	}
	/**
	 * {@inheritDoc}
	 */
	public String[] getDescriptions() {
		List result= new ArrayList();
		if (isFlag(ADD_CALCULATED_SERIAL_VERSION_ID))
			result.add(MultiFixMessages.SerialVersionCleanUp_Generated_description);
		if (isFlag(ADD_DEFAULT_SERIAL_VERSION_ID))
			result.add(MultiFixMessages.CodeStyleCleanUp_addDefaultSerialVersionId_description);
		if (isFlag(ADD_RANDOM_SERIAL_VERSION_ID))
			result.add(MultiFixMessages.PotentialProgrammingProblemsCleanUp_RandomSerialId_description);