This check ensures that the number of arguments passed to ‘lenient’ formatting methods like Preconditions.checkArgument match the number of format specifiers.

WARNING: Only the exact two-character placeholder sequence %s is recognized by these methods. Any others will be ignored, and not used for argument substitution.

The APIs checked by this bugpattern include: