Interface AnalysisWarningsWrapper
-
- All Known Implementing Classes:
DefaultAnalysisWarningsWrapper
@ScannerSide public interface AnalysisWarningsWrapperAsAnalysisWarningshas been added in SQ 7.4, previous version of the API do not have the class. Thus, in order to avoid aClassNotFoundExceptionat startup, we use a wrapper class we know for sure will always be present. Depending on the sonar runtime, this wrapper will either forward the warnings to the underlyingAnalysisWarningsor do nothing when not available.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddWarning(String text)
-
-
-
Method Detail
-
addWarning
void addWarning(String text)
-
-