typeName = identifier + "$" + typeName; //$NON-NLS-1$
}
}
node = node.getParent();
}
PackageDeclaration packageDecl = ((CompilationUnit) node).getPackage();
String packageIdentifier = ""; //$NON-NLS-1$
if (packageDecl != null) {
Name packageName = packageDecl.getName();
while (packageName.isQualifiedName()) {
QualifiedName qualifiedName = (QualifiedName) packageName;
packageIdentifier = qualifiedName.getName().getIdentifier()
+ "." + packageIdentifier; //$NON-NLS-1$
packageName = qualifiedName.getQualifier();