/** * Analyze the given file (which can point to an Android project). Issues found * are reported to the associated {@link LintClient}. * * @param files the files and directories to be analyzed * @param scope the scope of the analysis; detectors with a wider scope will * not be run. If null, the scope will be inferred from the files. * @deprecated use {@link #analyze(LintRequest) instead} */ @Deprecated public void analyze(@NonNull List<File> files, @Nullable EnumSet<Scope> scope) { analyze(new LintRequest(client, files).setScope(scope)); }
driver.analyze(request.setScope(getLintScope(files)));
request = request.setScope(task.customScope);