Clean up AST receiving stub code
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=413923