Lines Matching defs:scope

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 list provides a list of scope sets that can be used to
309 * analyze this issue. For each scope set, all the scopes must be matched by
310 * the incremental analysis, but any one of the scope sets can be analyzed
313 * The required scope list is not required to include the full scope set
345 * Returns true if the given scope is adequate for analyzing this issue.
347 * {@link #addAnalysisScope(EnumSet)}) and if the scope passed in fully
348 * covers at least one of them, or if it covers the scope of the issue
352 * The scope set returned by {@link Issue#getScope()} lists all the various
370 * An issue can register additional scope sets that can are adequate
372 * This method returns true if the given scope matches one or more analysis
373 * scope, or the overall scope.
375 * @param scope the scope available for analysis
376 * @return true if this issue can be analyzed with the given available scope
378 public boolean isAdequate(@NonNull EnumSet<Scope> scope) {
379 if (scope.containsAll(mScope)) {
399 * Adds a scope set that can be analyzed independently to uncover this issue.
402 * always considered an analysis scope.
404 * @param scope the additional scope which can analyze this issue independently
407 public Issue addAnalysisScope(@Nullable EnumSet<Scope> scope) {
411 mAnalysisScopes.add(scope);