more usages of getSourceRoots corrected to fetch only java or only resource roots where needed