IWorkspace workspace = ResourcesPlugin.getWorkspace();
IJavaModel model = JavaCore.create(workspace.getRoot());
IJavaProject project = model.getJavaProject("TestProject");
List<IJavaElement> selection = new ArrayList<IJavaElement>();
selection.add(project);
ProjectParser parser = new ProjectParser(selection);
parser.parse(null);
fModel = parser.getModel();
fUnresolvedInvocationHandler = new UnresolvedInvocationHandler(fModel, parser.getUnresolvedCalls());
fUnresolvedInvocationHandler.process(new NullProgressMonitor());
fUnresolvedInvocationHandler.addInvocations(new NullProgressMonitor());
}