Java 类com.intellij.psi.search.ProjectScopeImpl 实例源码

项目:TheRPlugin    文件:TheRResolver.java   
public static void addFromProject(String name,
                                  @NotNull final Project project,
                                  @NotNull final List<ResolveResult> results) {
  Collection<TheRAssignmentStatement> statements =
    TheRAssignmentNameIndex.find(name, project,
                                 new ProjectScopeImpl(project, FileIndexFacade
                                   .getInstance(project)));
  for (TheRAssignmentStatement statement : statements) {
    final PsiElement assignee = statement.getAssignee();
    if (assignee == null) continue;
    results.add(new PsiElementResolveResult(statement));
  }
}
项目:intellij-ce-playground    文件:CoreProjectScopeBuilder.java   
@NotNull
@Override
public GlobalSearchScope buildProjectScope() {
  return new ProjectScopeImpl(myProject, myFileIndexFacade);
}
项目:tools-idea    文件:CoreProjectScopeBuilder.java   
@NotNull
@Override
public GlobalSearchScope buildProjectScope() {
  return new ProjectScopeImpl(myProject, myFileIndexFacade);
}
项目:consulo    文件:CoreProjectScopeBuilder.java   
@Override
public GlobalSearchScope buildProjectScope() {
  return new ProjectScopeImpl(myProject, myFileIndexFacade);
}