163164165166167168169170171172173
// obtain resolver URIResolver resolver = (project != null) ? (URIResolver) project.getAdapter(URIResolver.class) : null; if (resolver == null) { // ProjectResolver can take care of the case if project is // null. resolver = new ProjectResolver(project); } if (resolver == null) { return null; }