if (type.getCompilationUnit() == null) return false;
	private boolean canEnable(IStructuredSelection selection) throws JavaModelException{		if (canEnableOn(getSelectedFields(selection)))			return true;		if ((selection.size() == 1) && (selection.getFirstElement() instanceof IType)){			IType type= (IType)selection.getFirstElement();			if (type.getFields().length == 0)				return false;			if (JavaModelUtil.isEditable(type.getCompilationUnit()))				return true;		}		return false;		}