Annotation Interface SupportedModes
The values of the
-Amode option that a checker supports. Each names a group of options
that the checker turns on, defined by its SourceChecker.addOptionsForMode(java.lang.String, java.util.Map<java.lang.String, java.lang.String>) override.
SourceChecker.getSupportedModes() collects these annotations from the checker's class
hierarchy and from its subcheckers; write this annotation on the class whose
addOptionsForMode handles the mode. It is deliberately not @Inherited: the collection
walks the hierarchy itself and reads each class's declared annotation, so that a subclass
declaring its own modes adds to its superclass's rather than hiding them.
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueReturns the supported mode names.- Returns:
- the supported mode names
-