Bug 125467 [clean up][infrastructure] Show hit ctrl-enter message
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionSubProcessor.java
/**
	 * Determines the serial version quickfix proposals.
	 *
	 * @param context
	 *        the invocation context
	 * @param location
	 *        the problem location
	 * @param proposals
	 *        the proposal collection to extend
	 * @throws CoreException 
	 */
	public static final void getSerialVersionProposals(final IInvocationContext context, final IProblemLocation location, final Collection proposals) throws CoreException {
		Assert.isNotNull(context);
		Assert.isNotNull(location);
		Assert.isNotNull(proposals);
		
		IFix[] fixes= Java50Fix.createMissingSerialVersionFixes(context.getASTRoot(), location);
		if (fixes != null) {
			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_ADD);
			FixCorrectionProposal prop1= new SerialVersionDefaultProposal(fixes[0], null, 9, image);
			proposals.add(prop1);
			FixCorrectionProposal prop2= new SerialVersionHashProposal(fixes[1], new Java50CleanUp(Java50CleanUp.ADD_CALCULATED_SERIAL_VERSION_ID), 9, image);
			proposals.add(prop2);
		}
	}
}