question: public static IJavaSearchScope createRelatedProjectsScope ( IJavaProject project , int includeMask ) throws CoreException { IJavaProject [ ] projects = getRelatedProjects ( project ) ; return SearchEngine . createJavaSearchScope ( projects , includeMask ) ; }
target:  Creates a new search scope containing all projects which reference or are referenced by the specified project.