checkPublic

public void checkPublic(String warningMessageFormat)

Checks that method access is public.

If the access is not public, the warning message will be put into 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