Fix for Bug 375117 - [wizard] when creating a nested role using the
wizard, completion does not work for the baseclass
diff --git a/plugins/org.eclipse.objectteams.otdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/wizards/NewRoleWizardPage.java b/plugins/org.eclipse.objectteams.otdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/wizards/NewRoleWizardPage.java
index 5218217..74f0d94 100644
--- a/plugins/org.eclipse.objectteams.otdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/wizards/NewRoleWizardPage.java
+++ b/plugins/org.eclipse.objectteams.otdt.ui/src/org/eclipse/objectteams/otdt/internal/ui/wizards/NewRoleWizardPage.java
@@ -207,7 +207,7 @@
 	private void setBaseClassCompletionContext(JavaTypeCompletionProcessor baseClassCompletionProcessor) {
 		if (getEnclosingType() != null) {
 			// to make it a role of this team fake a role file in the corresponding team package:
-			String           teamName = getEnclosingType().getFullyQualifiedName();
+			String           teamName = getEnclosingType().getFullyQualifiedName().replace('$', '.');
 			IPackageFragment currPack = getEnclosingType().getPackageFragment();
 			IPackageFragment teamPack = ((IPackageFragmentRoot) currPack.getParent()).getPackageFragment(teamName);
 			ICompilationUnit cu       = teamPack.getCompilationUnit(DUMMY_CU_NAME);