Resolving bindings with ASTParser in JDT with SVNKit
I am using Eclipse JDT's ASTParser to parse source files retrieved by SVNKit. What I do is to checkout the file of interest (typically I go to each revision and check out the changed files) and parse them. However, ASTParser requires the rest of the project to resolve name bindings to external classes and methods. One way I can do this is to check out the whole project to provide the binding but it seems an overkill because I am only interested in only one or two files. Also I currently checkout each file and store it as a string to parse, checking out the whole project means creating the whole directory structure in some temp location, etc.
Anyone has experience doing this or knows of a better way?