/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/ |
H A D | IssueRegistry.java | 101 * @param scope the scope for the analysis, to filter out detectors that 104 * filled by this method to contain mappings from each scope to 105 * the applicable detectors for that scope 112 @NonNull EnumSet<Scope> scope, 127 // Determine if the scope matches 128 if (!issue.isAdequate(scope)) { 109 createDetectors( @onNull LintClient client, @NonNull Configuration configuration, @NonNull EnumSet<Scope> scope, @Nullable Map<Scope, List<Detector>> scopeToDetectors) argument
|
H A D | LintDriver.java | 151 * Returns the scope for the lint job 153 * @return the scope, never null 275 * @param scope the scope of the analysis; detectors with a wider scope will 276 * not be run. If null, the scope will be inferred from the files. 278 public void analyze(@NonNull List<File> files, @Nullable EnumSet<Scope> scope) { argument 280 mScope = scope; 292 // Infer the scope 317 // Specified a full project: just use the full project scope 1089 runClassDetectors(Scope scope, List<ClassEntry> entries, Project project, Project main) argument 1731 requestRepeat(@onNull Detector detector, @Nullable EnumSet<Scope> scope) argument 1859 isSuppressed(@onNull Issue issue, @Nullable Node scope) argument [all...] |
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/ |
H A D | JavaContext.java | 42 * the given scope, in the given project reporting errors to the given 87 * scope to check for suppress lint annotations. 90 * @param scope the AST node scope the error applies to. The lint infrastructure 99 @Nullable Node scope, 103 if (scope != null && mDriver.isSuppressed(issue, scope)) { 97 report( @onNull Issue issue, @Nullable Node scope, @Nullable Location location, @NonNull String message, @Nullable Object data) argument
|
H A D | XmlContext.java | 105 * scope to check for suppress lint annotations. 108 * @param scope the DOM node scope the error applies to. The lint infrastructure 117 @Nullable Node scope, 121 if (scope != null && mDriver.isSuppressed(issue, scope)) { 137 // + " was reported without a scope node: Can't be suppressed."); 115 report( @onNull Issue issue, @Nullable Node scope, @Nullable Location location, @NonNull String message, @Nullable Object data) argument
|
H A D | Context.java | 112 * Returns the scope for the lint job 114 * @return the scope, never null 322 * @param scope the scope to be revisited. This must be a subset of the 323 * current scope ({@link #getScope()}, and it is just a performance hint; 328 public void requestRepeat(@NonNull Detector detector, @Nullable EnumSet<Scope> scope) { argument 329 mDriver.requestRepeat(detector, scope);
|
H A D | Issue.java | 68 @NonNull EnumSet<Scope> scope) { 77 mScope = scope; 92 * @param scope the scope of files required to analyze this issue 104 @NonNull EnumSet<Scope> scope) { 106 detectorClass, scope); 235 * Returns the scope required to analyze the code to detect this issue. 238 * @return the required scope 287 * the scope set returned by {@link #getScope()} does not have to be returned 308 * The required scope lis 60 Issue( @onNull String id, @NonNull String description, @NonNull String explanation, @NonNull Category category, int priority, @NonNull Severity severity, @NonNull Class<? extends Detector> detectorClass, @NonNull EnumSet<Scope> scope) argument 96 create( @onNull String id, @NonNull String description, @NonNull String explanation, @NonNull Category category, int priority, @NonNull Severity severity, @NonNull Class<? extends Detector> detectorClass, @NonNull EnumSet<Scope> scope) argument 378 isAdequate(@onNull EnumSet<Scope> scope) argument 407 addAnalysisScope(@ullable EnumSet<Scope> scope) argument [all...] |
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
H A D | SharedPrefsDetector.java | 80 private Node findSurroundingMethod(Node scope) { argument 81 while (scope != null) { 82 Class<? extends Node> type = scope.getClass(); 86 return scope; 89 scope = scope.getParent();
|
H A D | ToastDetector.java | 78 private Node findSurroundingMethod(Node scope) { argument 79 while (scope != null) { 80 Class<? extends Node> type = scope.getClass(); 84 return scope; 87 scope = scope.getParent();
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
H A D | ScriptRunner.java | 51 /** The "this" scope object for scripts. */ 52 private final Object scope; field in class:ScriptRunner 56 private ScriptRunner(Object scope, String variable) { argument 57 this.scope = scope; 61 /** Creates a new instance for the given scope object. */ 62 public static ScriptRunner newInstance(Object scope, String variable) { argument 63 return new ScriptRunner(scope, variable);
|