if (member.getElementType() == IJavaElement.METHOD) return checkMethod((IMethod)member);
if (member.getElementType() == IJavaElement.METHOD){ RefactoringStatus substatus= checkMethod((IMethod)member); if (substatus != null && ! substatus.isOK()) return substatus; }
	private RefactoringStatus checkAllElements() throws JavaModelException {		//just 1 error message		for (int i = 0; i < fElementsToPullUp.length; i++) {			IMember member = fElementsToPullUp[i];			if (member.getElementType() != IJavaElement.METHOD && 				member.getElementType() != IJavaElement.FIELD)					return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("PullUpRefactoring.only_fields_and_methods"));			 //$NON-NLS-1$			if (! member.exists())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("PullUpRefactoring.elements_do_not_exist"));			 //$NON-NLS-1$				if (member.isBinary())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("PullUpRefactoring.no_binary_elements"));	 //$NON-NLS-1$			if (member.isReadOnly())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("PullUpRefactoring.no_read_only_elements"));					 //$NON-NLS-1$			if (! member.isStructureKnown())				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("PullUpRefactoring.no_unknown_structure"));					 //$NON-NLS-1$			if (JdtFlags.isStatic(member)) //for now				return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("PullUpRefactoring.no_static_elements")); //$NON-NLS-1$						if (member.getElementType() == IJavaElement.METHOD)				return checkMethod((IMethod)member);		}		return null;	}