code: public TypeFinder toTypeFinder(final IJavaProject project) {
  		return new TypeFinder() {
  			@Override
  			public IType findType(String typeName) throws JavaModelException {
  				return project.findType(typeName);
  			}
  		};
  	}
docs: Create a {@link TypeFinder} wrapper for the given Java project.
  
  <p>The wrapper invokes {@link IJavaProject#findType(String)} on the given project.
  
  @param project the project to wrap.
  @return the type finder based on the given Java project.