Class ErrorProneFlags.Builder
java.lang.Object
com.google.errorprone.ErrorProneFlags.Builder
- Enclosing class:
ErrorProneFlags
Builder for Error Prone command-line flags object. Parses flags from strings.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Given a String custom flag in the format"-XepOpt:FlagName=Value"
, places the flag in this builder's dictionary, e.g.Puts a key-value pair directly in this builder's dictionary.
-
Method Details
-
parseFlag
Given a String custom flag in the format"-XepOpt:FlagName=Value"
, places the flag in this builder's dictionary, e.g.flagsMap["FlagName"] = "Value"
-
putFlag
Puts a key-value pair directly in this builder's dictionary. Mostly exists for testing. -
build
-