Validate that a given method don't use a given access mode.
Parameters: acc - the access mode to refuse. Parameters: jMethod - method to check. Parameters: desc - the description of the access. Parameters: className - the name of the class of the given method.