check Private
Checks that method access is private
.
If the access is not private
, prints the warning to the log with the specified warningMessageFormat
.
warningMessageFormat
should contain a placeholder for the method name.
Parameters
warning Message Format
a formatted String
representing the warning message