public static boolean is50OrHigher(IJavaProject project) { String compliance= project.getOption(JavaCore.COMPILER_COMPLIANCE, true); return JavaCore.VERSION_1_5.equals(compliance);
public static boolean is50OrHigher(String compliance) { return JavaCore.VERSION_1_5.equals(compliance) || JavaCore.VERSION_1_6.equals(compliance);
	public static boolean is50OrHigher(IJavaProject project) {		String compliance= project.getOption(JavaCore.COMPILER_COMPLIANCE, true);		return JavaCore.VERSION_1_5.equals(compliance);	}