Package org.sonar.java
Class AnalysisWarningsWrapper
- java.lang.Object
-
- org.sonar.java.AnalysisWarningsWrapper
-
@ScannerSide public class AnalysisWarningsWrapper extends Object
Wrap an AnalysisWarnings instance, available since SQ API 7.4. Do not load this class on older runtimes. Drop this class when the minimum supported version of SonarJava reaches 7.4.
-
-
Field Summary
Fields Modifier and Type Field Description static AnalysisWarningsWrapper
NOOP_ANALYSIS_WARNINGS
Noop instance which can be used as placeholder whenAnalysisWarnings
is not supported
-
Constructor Summary
Constructors Constructor Description AnalysisWarningsWrapper(org.sonar.api.notifications.AnalysisWarnings analysisWarnings)
-
-
-
Field Detail
-
NOOP_ANALYSIS_WARNINGS
public static final AnalysisWarningsWrapper NOOP_ANALYSIS_WARNINGS
Noop instance which can be used as placeholder whenAnalysisWarnings
is not supported
-
-
Method Detail
-
addUnique
public void addUnique(String text)
-
-