Bug 123625 [cleanup] Generated Serial Version UIDs clean up
Add a fix to the cleanup refactoring which generates missing generated serial version IDs. The code of the existing serial version quickfix has been extracted and is now available in class SerialVersionComputationHelper. For details on how to use this class please refer to the existing quickfix.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/AbstractCleanUp.java
}
		});
	}
	protected Button addCheckBox(Composite parent, final int flag, String label, SelectionAdapter adapter) {
		Button button= new Button(parent, SWT.CHECK);
		button.setText(label);
		button.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));
		button.setSelection(isFlag(flag));
		button.addSelectionListener(adapter);
		return button;
	}
	
	protected String removeMemonic(String s) {
		StringBuffer buf= new StringBuffer(s);
		for (int i=buf.length()-1;i>=0;i--) {
			if (buf.charAt(i) == '&')
				buf.deleteCharAt(i);
		}
		return buf.toString();
	}
	
	/**
	 * {@inheritDoc}
	 */
	public boolean canCleanUp(IJavaProject project) {
		return true;
	}
	
}