IClasspathEntry entries[] = javaProject.getResolvedClasspath(true);
for (int i = 0; i < entries.length; i++) {
IClasspathEntry classpathEntry = entries[i];
if (classpathEntry.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
IPath outputLocation = ResourceUtils.getOutputLocation(classpathEntry, defaultOutputLocation);
IResource resource = root.findMember(classpathEntry.getPath());
// patch from 2891041: do not analyze derived "source" folders
// because they probably contain auto-generated classes
if (resource != null && resource.isDerived()) {
continue;
}