Validation for null method names in wildcard check