private void computeDetectors(Project project) { // Ensure that the current visitor is recomputed mCurrentFolderType = null; mCurrentVisitor = null; Configuration configuration = project.getConfiguration(); mScopeDetectors = new HashMap<Scope, List<Detector>>(); mApplicableDetectors = mRegistry.createDetectors(mClient, configuration, mScope, mScopeDetectors); validateScopeList(); }
private void computeDetectors(@NonNull Project project) { // Ensure that the current visitor is recomputed currentFolderType = null; currentVisitor = null; Configuration configuration = project.getConfiguration(this); scopeDetectors = new EnumMap<>(Scope.class); applicableDetectors = registry.createDetectors(client, configuration, scope, scopeDetectors); validateScopeList(); }