private RefactoringStatus checkDeclaringType() throws JavaModelException {
private RefactoringStatus checkDeclaringType(IProgressMonitor pm) throws JavaModelException { pm.beginTask("", 3);
	private RefactoringStatus checkDeclaringType() throws JavaModelException {		IType declaringType= getDeclaringType();						if (declaringType.isInterface()) //for now			return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on interface members.");				if (declaringType.getFullyQualifiedName().equals("java.lang.Object"))			return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on elements declared in java.lang.Object.");			if (declaringType.isBinary())			return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on elements declared in binary types.");			if (declaringType.isReadOnly())			return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on elements declared in read-only types.");				if (getSuperType(new NullProgressMonitor()) == null)				return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on elements declared in this type.");						if (getSuperType(new NullProgressMonitor()).isBinary())			return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on elements declared in subclasses of binary types.");			if (getSuperType(new NullProgressMonitor()).isReadOnly())			return RefactoringStatus.createFatalErrorStatus("Pull up is not allowed on elements declared in subclasses of read-only types.");					return null;	}