Interface ErrorProneCheck
- All Superinterfaces:
Check
- All Known Implementing Classes:
DoubleBraceInitializationCheck,ProblematicEqualsHashCodeComparable
This is the interface for all checks that are executed by error-prone.
-
Method Summary
Modifier and TypeMethodDescriptiondefault LocalizedMessageReturns a map of lints that this check is interested in and a function that converts the resulting diagnostic to a message.Methods inherited from interface de.firemage.autograder.core.check.Check
maximumProblems, merge
-
Method Details
-
subscribedLints
Map<ErrorProneLint,Function<ErrorProneDiagnostic, subscribedLints()Message>> Returns a map of lints that this check is interested in and a function that converts the resulting diagnostic to a message.- Returns:
- the map, must not be null and no two checks should subscribe to the same lint
-
getLinter
-