@Override protected ClasspathTypeProvider createClasspathTypeProvider(ResourceSet resourceSet) { ClasspathTypeProvider classpathTypeProvider = super.createClasspathTypeProvider(resourceSet); processorClassLoader.setPojoClassLoader(this); loaders.put(resourceSet, getClassLoader(resourceSet)); return classpathTypeProvider; }
@Override protected IJdtTypeProvider createJdtTypeProvider( IJavaProject javaProject, ResourceSet resourceSet) { IJdtTypeProvider jdtTypeProvider = super.createJdtTypeProvider(javaProject, resourceSet); processorClassLoader.setPojoClassLoader(this); if (javaProject != null && resourceSet != null) { try { loaders.put(resourceSet, getProjectClassLoader(javaProject)); } catch (CoreException e) { LOGGER.warn("Can't get project class loader for '" + javaProject + "'", e); } } return jdtTypeProvider; }