* try to find sourceToFind in all Java projects
*/
private IJavaElement findTypeInAllJavaProjects(SourceObject sourceToFind)
throws JavaModelException {
DBClass notContainedClass = sourceToFind.getDBClass();
while (notContainedClass.getContainingClass() != null)
{
notContainedClass = notContainedClass.getContainingClass();
}
String fullyQualifiedName = notContainedClass.getName();
// for all projects
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IProject[] projects = root.getProjects();