Field generator = AbstractMessage.class.getDeclaredField("generator");
generator.setAccessible(true);
SourceToken token = (SourceToken)generator.get(message);
SimpleNode ast = token.getAst();
if (ast instanceof ImportFrom) {
ImportFrom imprt = (ImportFrom)ast;
//if it is a wild import, it starts on the module name
if (!AbstractVisitor.isWildImport(imprt) &&
imprt.module instanceof NameTok)
{
name = ((NameTok)imprt.module).id + '.' + name;