Interface Mode
- All Known Implementing Classes:
ApplyMode, DisableMode, RemoveRolloutMode, RemoveUnusedMode, SuppressMode, TimingsMode
public interface Mode
A Mode represents a mode of operation in suppressible-error-prone that is enabled or enabled by a gradle property
flag (see
ModeName). Each mode will either require either the error_prone_check_api to be modified or not
(see ModifyCheckApiOption), and return options for configuration shared by multiple Modes
(see CommonOptions). Modes can interfere with each other, see ModeInterference.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault CommonOptionsApply configuration specific to the mode or return theCommonOptionsfor this mode.default ModifyCheckApiOption
-
Field Details
-
SUPPRESSIBLE_ERROR_PRONE_MODE
- See Also:
-
-
Method Details
-
modifyCheckApi
-
configureAndReturnCommonOptions
Apply configuration specific to the mode or return theCommonOptionsfor this mode.- Parameters:
context- Useful information to use to determine options or apply configuration
-