public class ProblemSettingsFilter extends Object implements IProblemFilter
| Constructor and Description |
|---|
ProblemSettingsFilter(ICompilerProblemSettings problemSettings)
Create a filter based on problem settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ICompilerProblem p)
Determines if the specified
ICompilerProblem passes the
filter. |
public ProblemSettingsFilter(ICompilerProblemSettings problemSettings)
problemSettings - The settings, may not be null.public boolean accept(ICompilerProblem p)
IProblemFilterICompilerProblem passes the
filter.accept in interface IProblemFilterp - ICompilerProblem to checkICompilerProblem passes the filter,
false otherwise.Copyright © 2023 The Apache Software Foundation. All rights reserved.