Bug 107826 Serial version quick fix improvements [quick fix]
- Do not put everything on the user class path - Use only the standard output for result and error messages - Remove waitFor() - Read from stream until -1
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SerialVersionDefaultProposal.java
protected final void addInitializer(final VariableDeclarationFragment fragment) {
		Assert.isNotNull(fragment);
		final Expression expression= computeDefaultExpression(new NullProgressMonitor());
		if (expression != null)
			fragment.setInitializer(expression);
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.correction.AbstractSerialVersionProposal#addLinkedPositions(org.eclipse.jdt.core.dom.rewrite.ASTRewrite, org.eclipse.jdt.core.dom.VariableDeclarationFragment)
	 */
	protected final void addLinkedPositions(final ASTRewrite rewrite, final VariableDeclarationFragment fragment) {
		Assert.isNotNull(rewrite);
		Assert.isNotNull(fragment);
		final Expression initializer= fragment.getInitializer();
		if (initializer != null)
			addLinkedPosition(rewrite.track(initializer), true, GROUP_INITIALIZER);
	}
	/*
	 * @see org.eclipse.jdt.internal.ui.text.correction.AbstractSerialVersionProposal#computeDefaultExpression(org.eclipse.core.runtime.IProgressMonitor)
	 */
	protected final Expression computeDefaultExpression(final IProgressMonitor monitor) {
		return getAST().newNumberLiteral(DEFAULT_EXPRESSION);
	}
	/*
	 * @see org.eclipse.jface.text.contentassist.ICompletionProposal#getAdditionalProposalInfo()
	 */
	public final String getAdditionalProposalInfo() {
		return CorrectionMessages.SerialVersionDefaultProposal_message_default_info;
	}
}