Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有项目的名称,所以我可以通过
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(proj.getName()); IJavaProject jProj = (IJavaProject) project.getNature(JavaCore.NATURE_ID);
获得项目后,我想获取项目中所有包的名称。
我该怎么做?