Bug 69101 Quick Fix new class does not update imports [quick fix]
1. Ctrl-1 New Class to resolve non-existing type 2. Change package target for new class 3. New class created but need to add import manually because package doesn't match.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizard.java
}
    
    
    
    private boolean is15Classpath(IJavaProject javaProject) {
    	try {
    		return javaProject.findType("java.lang.Enum") != null; 
    	} catch (JavaModelException e) {
    		
    		return false;
    	}
    }
    
    private void checkCompliance() {
    	IJavaProject javaProject= fSecondPage.getJavaProject();
    	String projectCompatibility= javaProject.getOption(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, true);
    	boolean is15Configured= JavaCore.VERSION_1_5.equals(projectCompatibility);
    	if (is15Classpath(javaProject) && !is15Configured) {
    		new ChangeComplianceDialog(getShell(), javaProject).open();
    	}
    }
    
    
	/* (non-Javadoc)
	 * @see org.eclipse.jface.wizard.IWizard#performFinish()
	 */
	public boolean performFinish() {
		boolean res= super.performFinish();
		if (res) {
			checkCompliance();