This commit is contained in:
Dmitry Avdeev
2011-04-06 15:58:22 +04:00
parent 52b70dfaff
commit a5a4245c05
3 changed files with 3 additions and 3 deletions
@@ -112,7 +112,7 @@ public class PsiClassConverter extends Converter<PsiClass> implements CustomRefe
if (virtualFile == null) return null;
ProjectFileIndex fileIndex = ProjectRootManager.getInstance(file.getProject()).getFileIndex();
boolean tests = fileIndex.isInTestSourceContent(virtualFile);
return module.getModuleRuntimeScope(tests).union(module.getModuleWithDependenciesAndLibrariesScope(tests));
return module.getModuleRuntimeScope(tests);
}
public static class AnnotationType extends PsiClassConverter {