Interface ImmutableAnalysis.ViolationReporter
-
- Enclosing class:
- ImmutableAnalysis
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ImmutableAnalysis.ViolationReporter
Acceptsviolations
that are found during the analysis.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Description.Builder
describe(com.sun.source.tree.Tree tree, ThreadSafety.Violation info)
default Description
report(com.sun.source.tree.Tree tree, ThreadSafety.Violation info, Optional<SuggestedFix> suggestedFix)
-
-
-
Method Detail
-
describe
Description.Builder describe(com.sun.source.tree.Tree tree, ThreadSafety.Violation info)
-
report
@CheckReturnValue default Description report(com.sun.source.tree.Tree tree, ThreadSafety.Violation info, Optional<SuggestedFix> suggestedFix)
-
-