if (! Checks.isDeclaredInMethod(fTempDeclarationNode)) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("RenameTempRefactoring.only_in_methods"));
	public RefactoringStatus checkActivation(IProgressMonitor pm) throws JavaModelException {		initAST();		if (fTempDeclarationNode == null)			return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("RenameTempRefactoring.must_select_local")); //$NON-NLS-1$		if (! Checks.isDeclaredInMethod(fTempDeclarationNode))			return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.getString("RenameTempRefactoring.only_in_methods")); //$NON-NLS-1$					initNames();					return new RefactoringStatus();	}