check Package Private
Checks that method access is package-private
.
If the access is not package-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