Broke out code for resolving Javadoc and source files and turned it into Java classes in preparation for using resolution result.