I would like to suggest that it would be a great addition to the ProjectHelper/ProjectHelperImpl if a method similar to the following was added: public void parse(Project project, InputStream stream, String fileAbsolutePath). This new entry point could be made to work with a some refactoring of the existing code and would allow parsing to occur on in memory working copy of a file (which we have in the Eclipse IDE). Thanks
Have you thought of providing your own project helper? I haven't looked into what is required for your use-case and there may even be issues when using your own ProjectHelper but I thought I would mention the possibility.