public static boolean isEditable(ICompilationUnit cu) throws JavaModelException {
public static boolean isEditable(ICompilationUnit cu)  {
	public static boolean isEditable(ICompilationUnit cu) throws JavaModelException {		if (cu.isWorkingCopy()) {			cu= (ICompilationUnit) cu.getOriginalElement();		}		return (cu.exists() && !cu.getCorrespondingResource().isReadOnly());	}