String msg= null;;
String msg= null;
	private RefactoringStatus analyseEnclosedTypes() throws CoreException {		final ISourceRange typeRange= fType.getSourceRange();		final RefactoringStatus result= new RefactoringStatus();		CompilationUnit cuNode= AST.parseCompilationUnit(fType.getCompilationUnit(), false);		cuNode.accept(new ASTVisitor(){			public boolean visit(TypeDeclaration node){				if (node.getStartPosition() <= typeRange.getOffset())					return true;				if (node.getStartPosition() > typeRange.getOffset() + typeRange.getLength())					return true;						if (fNewElementName.equals(node.getName().getIdentifier())){					Context	context= JavaStatusContext.create(fType.getCompilationUnit(), node);					String msg= null;;					if (node.isLocalTypeDeclaration()){						msg= RefactoringCoreMessages.getFormattedString("RenameTypeRefactoring.local_type", //$NON-NLS-1$									new String[]{JavaElementUtil.createSignature(fType), fNewElementName});					}						else if (node.isMemberTypeDeclaration()){						msg= RefactoringCoreMessages.getFormattedString("RenameTypeRefactoring.member_type", //$NON-NLS-1$								new String[]{JavaElementUtil.createSignature(fType), fNewElementName});					}						if (msg != null)							result.addError(msg, context);				}						MethodDeclaration[] methods= node.getMethods();				for (int i= 0; i < methods.length; i++) {					if (Modifier.isNative(methods[i].getModifiers())){						Context	context= JavaStatusContext.create(fType.getCompilationUnit(), methods[i]);						String msg= RefactoringCoreMessages.getFormattedString("RenameTypeRefactoring.enclosed_type_native", node.getName().getIdentifier());//$NON-NLS-1$						result.addWarning(msg, context); 					}					}				return true;			}		});		return result;	}