proposals.add(new ChangeTo50Compilace(label1, cu.getJavaProject())); String label2= CorrectionMessages.getString("ReorgCorrectionsSubProcessor.50_workspace_compliance.description"); proposals.add(new ChangeTo50Compilace(label2, null));
proposals.add(new ChangeTo50Compliance(label1, cu.getJavaProject(), 5));  if (cu.getJavaProject().getOption(JavaCore.COMPILER_COMPLIANCE, false) == null) { String label2= CorrectionMessages.getString("ReorgCorrectionsSubProcessor.50_workspace_compliance.description"); proposals.add(new ChangeTo50Compliance(label2, null, 6)); }
	public static void getNeed50ComplianceProposals(IInvocationContext context, IProblemLocation problem, Collection proposals) {		ICompilationUnit cu= context.getCompilationUnit();		String label1= CorrectionMessages.getString("ReorgCorrectionsSubProcessor.50_project_compliance.description"); //$NON-NLS-1$		proposals.add(new ChangeTo50Compilace(label1, cu.getJavaProject()));		String label2= CorrectionMessages.getString("ReorgCorrectionsSubProcessor.50_workspace_compliance.description"); //$NON-NLS-1$		proposals.add(new ChangeTo50Compilace(label2, null));	}