checkPrivate

public void checkPrivate(String warningMessageFormat)

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

warningMessageFormat

a formatted String representing the warning message

See also