else if (!manager.getNameHelper().isIdentifier(parameterName)) {
message = RefactoringMessageUtil.getIncorrectIdentifierMessage(parameterName);
}
}
if (message == null) {
<BUG>PsiElement targetContainer = MoveInnerImpl.getTargetContainer(myInnerClass);
if (targetContainer instanceof PsiClass) {

PsiClass targetClass = (PsiClass)targetContainer;
</BUG>
PsiClass[] classes = targetClass.getInnerClasses();

else if (!manager.getNameHelper().isIdentifier(parameterName)) {
message = RefactoringMessageUtil.getIncorrectIdentifierMessage(parameterName);
}
}
if (message == null) {
if (myTargetContainer instanceof PsiClass) {
PsiClass targetClass = (PsiClass)myTargetContainer;
PsiClass[] classes = targetClass.getInnerClasses();
